diff options
author | Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> | 2025-03-27 02:06:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-27 13:41:58 +0000 |
commit | 6d78fbe5c5945701b6bd30101da5ce16164f4e6b (patch) | |
tree | 6af556f0e130a80d880fae4fece681adfa1032c4 /meta/recipes-devtools/rust/rust-source.inc | |
parent | 824f05fe73c23c49530eb37c6a4ddab09a9289ad (diff) | |
download | poky-6d78fbe5c5945701b6bd30101da5ce16164f4e6b.tar.gz |
rust: Upgrade 1.83.0->1.84.1
Rust stable version updated to 1.84.1.
https://blog.rust-lang.org/2025/01/30/Rust-1.84.1.html
Renamed and modified the below patch to adapt the new version.
rv32-cargo-rustix-0.38.37-fix.patch->rv32-cargo-rustix-0.38.38-fix.patch
Modified the below patches to adapt the new version.
repro-issue-fix-with-cc-crate-hashmap.patch
revert-link-std-statically-in-rustc_driver-feature.patch
Dropped the below patches :
0001-NFC-fix-build-failure-100993.patch
https://github.com/llvm/llvm-project/commit/6ee49080e4bb43efe7ede10bed15935853bbd434
revert-Zdual-proc-macros-additional-check.patch
Issue is fixed in rust-master and the fix is backported in the
subsequent patch of the series.
(From OE-Core rev: 4265f668de8c6708cb3a003ad655559031724149)
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@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 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index 40fc237a62..28f5aebbb4 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc | |||
@@ -1,15 +1,14 @@ | |||
1 | RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}" | 1 | 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://rv32-cargo-rustix-0.38.37-fix.patch;patchdir=${RUSTSRC} \ | 4 | file://rv32-cargo-rustix-0.38.38-fix.patch;patchdir=${RUSTSRC} \ |
5 | file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \ | 5 | file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \ |
6 | file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \ | 6 | file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \ |
7 | file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \ | 7 | file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \ |
8 | file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \ | 8 | file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \ |
9 | file://revert-link-std-statically-in-rustc_driver-feature.patch;patchdir=${RUSTSRC} \ | 9 | file://revert-link-std-statically-in-rustc_driver-feature.patch;patchdir=${RUSTSRC} \ |
10 | file://revert-Zdual-proc-macros-additional-check.patch;patchdir=${RUSTSRC} \ | ||
11 | " | 10 | " |
12 | SRC_URI[rust.sha256sum] = "7b11d4242dab0921a7d54758ad3fe805153c979c144625fecde11735760f97df" | 11 | SRC_URI[rust.sha256sum] = "e23ec747a06ffd3e94155046f40b6664ac152c9ee3c2adfd90353a7ccff24226" |
13 | 12 | ||
14 | RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" | 13 | RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" |
15 | 14 | ||