aboutsummaryrefslogtreecommitdiff
path: root/lang/rust/patches/0002-rustc-bootstrap-cache.patch
Commit message (Collapse)AuthorAge
* rust: Update to 1.78.0Tianling Shen2024-05-05
| | | | | | | - Switch back to .gz tarball - Replace local bootstrap cache hack with upstreamed option Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust: update to 1.77.0krant2024-03-26
| | | | | | | | - Restore patch hunk mis-deleted in dccb910 - Refresh patches - Remove --enable-missing-tools configure option deleted in the upstream Signed-off-by: krant <aleksey.vasilenko@gmail.com>
* rust: update to 1.76.0krant2024-02-25
| | | | | | | - Use .xz for source archive - Refresh patches Signed-off-by: krant <aleksey.vasilenko@gmail.com>
* rust: Update to 1.75.0Tianling Shen2024-01-01
| | | | | | | | Changelog: https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html Refreshed patches. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust: Update to 1.74.0Tianling Shen2023-11-22
| | | | | | | - Bumped libc to 0.2.147 to align deps. - Refreshed patches. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rust: Fix compile error if build dir and DL_DIR on separate filesystemsJeffery To2023-10-30
| | | | | | | | | | | | | | | | | | | | | | | The rust bootstrap downloads files into a "tmp" directory then moves the files into the "cache" directory using std::fs::rename. There are no issues in the original/unpatched case as "tmp" and "cache" are subdirectories in the build directory ($(HOST_BUILD_DIR)/build) and so are nearly guaranteed to be on the same filesystem. 35768bf31e5867046874dc6fd0374ff8fe575da2 changed where files are saved/cached (in $(DL_DIR)/rustc). If HOST_BUILD_DIR and DL_DIR are on separate filesystems, then using std::fs::rename to move the files will fail.[1] This updates 0002-rustc-bootstrap-cache.patch to account for this case, i.e. if std::fs::rename fails, fall back to copying the file then removing the original. [1]: https://github.com/openwrt/packages/pull/22457 Fixes: 35768bf31e58 ("rust: Cache bootstrap downloads to $(DL_DIR)/rustc") Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* rust: update to 1.73.0Oskari Rauta2023-10-14
| | | | | | | | | | | | | | | patches refreshed. changelog at https://github.com/rust-lang/rust/releases/tag/1.73.0 Also added a configuration ardument and patch from https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-lang/rust/files/1.72.0-bump-libc-deps-to-0.2.146.patch?id=515b5920046117355d88b3494c74da269ce9b30a to provide support for building rust on musl hosts. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com> rust: add support for musl build hosts Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* rust: Cache bootstrap downloads to $(DL_DIR)/rustcJeffery To2023-10-11
Signed-off-by: Jeffery To <jeffery.to@gmail.com>