rust: Upgrade 1.93.0 -> 1.94.0
PATCH 1/1 rust: Upgrade 1.93.0 -> 1.94.0
From: Deepesh Varatharajan <[email protected]>
https://blog.rust-lang.org/2026/03/05/Rust-1.94.0/
Rust Changes:
https://github.com/rust-lang/rust/releases/tag/1.94.0
Cargo Changes:
https://doc.rust-lang.org/nightly/cargo/CHANGELOG.html#cargo-194-2026-03-05
Rebased patch:
rust-oe-selftest.patch
Backported patch:
0001-Update-call-llvm-intrinsics-test.patch
To fix riscv64 oe-selftest failure with 1.94.0
Test results:
rust v1.94.0
+-------------+---------+---------+ | Machine | Passed | Skipped | +-------------+---------+---------+ | qemux86-64 | 21910 | 659 | | qemux86 | 21657 | 912 | | qemuarm64 | 21722 | 847 | | qemuarm | 21638 | 931 | | qemuriscv64 | 21684 | 885 | +-------------+---------+---------+
Test results difference (1.94.0 - 1.93.0):
+-------------+--------+---------+ | Machine | Passed | Skipped | +-------------+--------+---------+ | qemux86-64 | +221 | +13 | | qemux86 | +218 | +16 | | qemuarm64 | +227 | +7 | | qemuarm | +217 | +17 | | qemuriscv64 | +218 | +16 | +-------------+--------+---------+
Signed-off-by Deepesh Varatharajan <[email protected]>
---
meta/conf/distro/include/tcmode-default.inc | 2 +-
.../rust/{cargo_1.93.0.bb => cargo_1.94.0.bb} | 0
...001-Update-call-llvm-intrinsics-test.patch | 86 +++++++++++++++
.../rust/files/rust-oe-selftest.patch | 54 +++++-----
...ibstd-rs_1.93.0.bb => libstd-rs_1.94.0.bb} | 0
....93.0.bb => rust-cross-canadian_1.94.0.bb} | 0
meta/recipes-devtools/rust/rust-snapshot.inc | 102 +++++++++---------
meta/recipes-devtools/rust/rust-source.inc | 3 +-
.../rust/{rust_1.93.0.bb => rust_1.94.0.bb} | 0
9 files changed, 168 insertions(+), 79 deletions(-)
rename meta/recipes-devtools/rust/{cargo_1.93.0.bb => cargo_1.94.0.bb} (100%)
create mode 100644 meta/recipes-devtools/rust/files/0001-Update-call-llvm-intrinsics-test.patch
rename meta/recipes-devtools/rust/{libstd-rs_1.93.0.bb => libstd-rs_1.94.0.bb} (100%)
rename meta/recipes-devtools/rust/{rust-cross-canadian_1.93.0.bb => rust-cross-canadian_1.94.0.bb} (100%)
rename meta/recipes-devtools/rust/{rust_1.93.0.bb => rust_1.94.0.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -12,7 +12,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "15.%" SDKGCCVERSION ?= "${GCCVERSION}" GLIBCVERSION ?= "2.42%" -RUSTVERSION ?= "1.93.0%" +RUSTVERSION ?= "1.94.0%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
meta/recipes-devtools/rust/cargo_1.94.0.bb renamed from meta/recipes-devtools/rust/cargo_1.93.0.bb +0 -0
meta/recipes-devtools/rust/files/0001-Update-call-llvm-intrinsics-test.patch new file +86 -0
86 lines not on this page · raw message
meta/recipes-devtools/rust/files/rust-oe-selftest.patch +27 -27
78 lines not on this page · raw message
meta/recipes-devtools/rust/libstd-rs_1.94.0.bb renamed from meta/recipes-devtools/rust/libstd-rs_1.93.0.bb +0 -0
meta/recipes-devtools/rust/rust-cross-canadian_1.94.0.bb renamed from meta/recipes-devtools/rust/rust-cross-canadian_1.93.0.bb +0 -0
meta/recipes-devtools/rust/rust-snapshot.inc +52 -50
108 lines not on this page · raw message
meta/recipes-devtools/rust/rust-source.inc +2 -1
@@ -8,8 +8,9 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \ file://revert-link-std-statically-in-rustc_driver-feature.patch;patchdir=${RUSTSRC} \ file://0001-riscv32-Define-plain-syscalls-as-their-time64-varian.patch;patchdir=${RUSTSRC} \ + file://0001-Update-call-llvm-intrinsics-test.patch;patchdir=${RUSTSRC} \ " -SRC_URI[rust.sha256sum] = "e30d898272c587a22f77679f03c5e8192b5645c7c9ccc3407ad1106761507cea" +SRC_URI[rust.sha256sum] = "0b53ae34f5c0c3612cfe1de139f9167a018cd5737bc2205664fd69ba9b25f600" RUSTSRC = "${UNPACKDIR}/rustc-${RUST_VERSION}-src"
meta/recipes-devtools/rust/rust_1.94.0.bb renamed from meta/recipes-devtools/rust/rust_1.93.0.bb +0 -0
Signature · 1 line
2.49.0