diff options
author | Yash Shinde <Yash.Shinde@windriver.com> | 2024-02-29 08:32:40 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-01 09:31:10 +0000 |
commit | a62cee4479d63a9dd749a2a553823b76fb698ff6 (patch) | |
tree | d4b40bac76816e3620aa8f6fdc8c6693b57fee64 /meta/recipes-devtools/rust/rust-source.inc | |
parent | 423d7f208d1f6fa75877fd28a08d6a211ab5d83b (diff) | |
download | poky-a62cee4479d63a9dd749a2a553823b76fb698ff6.tar.gz |
rust: Upgrade 1.74.1 -> 1.75.0
* Drop backported musl fixes.
* Set `change-id` rather than `changelog-seen`
to fix build warning.
* Add fixes for 4b7e0a0b56aa24 ("Handle vendored sources
when remapping paths") which otherwise cause build failures:
| thread 'main' panicked at src/core/builder.rs:1795:26:
| std::fs::read_dir(registry_src) failed with No such file or directory (os=
error 2)
https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html
(From OE-Core rev: 9aec2c6c777388bb3129aa4c4f27a40f912522b4)
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-source.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust-source.inc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index 19f0e7827e..8ae8add495 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc | |||
@@ -2,23 +2,18 @@ RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}" | |||
2 | 2 | ||
3 | SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \ | 3 | SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \ |
4 | file://hardcodepaths.patch;patchdir=${RUSTSRC} \ | 4 | file://hardcodepaths.patch;patchdir=${RUSTSRC} \ |
5 | file://0001-Don-t-use-LFS64-symbols-on-musl.patch;patchdir=${RUSTSRC} \ | ||
6 | file://zlib-off64_t.patch;patchdir=${RUSTSRC} \ | 5 | file://zlib-off64_t.patch;patchdir=${RUSTSRC} \ |
7 | file://0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch;patchdir=${RUSTSRC} \ | ||
8 | file://0002-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch;patchdir=${RUSTSRC} \ | ||
9 | file://0003-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch;patchdir=${RUSTSRC} \ | ||
10 | file://0004-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=${RUSTSRC} \ | ||
11 | file://0005-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${RUSTSRC} \ | ||
12 | file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \ | 6 | file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \ |
13 | file://rv32-missing-syscalls.patch;patchdir=${RUSTSRC} \ | 7 | file://rv32-missing-syscalls.patch;patchdir=${RUSTSRC} \ |
14 | file://rv32-rustix-libc-backend.patch;patchdir=${RUSTSRC} \ | 8 | file://rv32-rustix-libc-backend.patch;patchdir=${RUSTSRC} \ |
15 | file://rv32-cargo-rustix-0.38.6-fix.patch;patchdir=${RUSTSRC} \ | 9 | file://rv32-cargo-rustix-0.38.19-fix.patch;patchdir=${RUSTSRC} \ |
16 | file://cargo-path.patch;patchdir=${RUSTSRC} \ | 10 | file://cargo-path.patch;patchdir=${RUSTSRC} \ |
17 | file://custom-target-cfg.patch;patchdir=${RUSTSRC} \ | 11 | file://custom-target-cfg.patch;patchdir=${RUSTSRC} \ |
18 | file://rustc-bootstrap.patch;patchdir=${RUSTSRC} \ | 12 | file://rustc-bootstrap.patch;patchdir=${RUSTSRC} \ |
19 | file://target-build-value.patch;patchdir=${RUSTSRC} \ | 13 | file://target-build-value.patch;patchdir=${RUSTSRC} \ |
14 | file://0001-Handle-vendored-sources-when-remapping-paths.patch;patchdir=${RUSTSRC} \ | ||
20 | " | 15 | " |
21 | SRC_URI[rust.sha256sum] = "b98c09d968529212fb29eec7d6d3e9bdaa869810679b7fb86a1ca69469d75f5e" | 16 | SRC_URI[rust.sha256sum] = "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340" |
22 | 17 | ||
23 | RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" | 18 | RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" |
24 | 19 | ||