Skip to contentSkip to conversation

rust: Upgrade 1.79.0->1.80.0

PATCH In review [email protected] 1 participant 2 messages Nov 14, 2024 – Nov 15, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rust: Upgrade 1.79.0->1.80.0

From: Harish Sadineni <[email protected]>

Update the patch files with rust v1.80.0.

The patch repro-issue-fix-with-cc-crate-hashmap.patch addresses the rust
reprouciblity issue by correcting the way hash values are generated for different build paths.

https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html

---
 meta/conf/distro/include/tcmode-default.inc   |   2 +-
 .../rust/{cargo_1.79.0.bb => cargo_1.80.0.bb} |   0
 ...epro-issue-fix-with-cc-crate-hashmap.patch | 199 ++++--------------
 ...ibstd-rs_1.79.0.bb => libstd-rs_1.80.0.bb} |   0
 ....79.0.bb => rust-cross-canadian_1.80.0.bb} |   0
 ...ust-llvm_1.79.0.bb => rust-llvm_1.80.0.bb} |   0
 meta/recipes-devtools/rust/rust-snapshot.inc  |  78 +++----
 meta/recipes-devtools/rust/rust-source.inc    |   2 +-
 .../rust/{rust_1.79.0.bb => rust_1.80.0.bb}   |   0
 9 files changed, 86 insertions(+), 195 deletions(-)
 rename meta/recipes-devtools/rust/{cargo_1.79.0.bb => cargo_1.80.0.bb} (100%)
 rename meta/recipes-devtools/rust/{libstd-rs_1.79.0.bb => libstd-rs_1.80.0.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-cross-canadian_1.79.0.bb => rust-cross-canadian_1.80.0.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-llvm_1.79.0.bb => rust-llvm_1.80.0.bb} (100%)
 rename meta/recipes-devtools/rust/{rust_1.79.0.bb => rust_1.80.0.bb} (100%)
meta/conf/distro/include/tcmode-default.inc +1 -1
index b1cc8b1285..a8e2a3b6bd 100644
@@ -24,7 +24,7 @@ GLIBCVERSION ?= "2.40%"
 LINUXLIBCVERSION ?= "6.10%"
 QEMUVERSION ?= "9.1%"
 GOVERSION ?= "1.22%"
-RUSTVERSION ?= "1.79%"
+RUSTVERSION ?= "1.80%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
meta/recipes-devtools/rust/cargo_1.80.0.bb renamed from meta/recipes-devtools/rust/cargo_1.79.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/cargo_1.79.0.bb
rename to meta/recipes-devtools/rust/cargo_1.80.0.bb
meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch +45 -154

211 lines not on this page · raw message

meta/recipes-devtools/rust/libstd-rs_1.80.0.bb renamed from meta/recipes-devtools/rust/libstd-rs_1.79.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/libstd-rs_1.79.0.bb
rename to meta/recipes-devtools/rust/libstd-rs_1.80.0.bb
meta/recipes-devtools/rust/rust-cross-canadian_1.80.0.bb renamed from meta/recipes-devtools/rust/rust-cross-canadian_1.79.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/rust-cross-canadian_1.79.0.bb
rename to meta/recipes-devtools/rust/rust-cross-canadian_1.80.0.bb
meta/recipes-devtools/rust/rust-llvm_1.80.0.bb renamed from meta/recipes-devtools/rust/rust-llvm_1.79.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/rust-llvm_1.79.0.bb
rename to meta/recipes-devtools/rust/rust-llvm_1.80.0.bb
meta/recipes-devtools/rust/rust-snapshot.inc +39 -39

95 lines not on this page · raw message

meta/recipes-devtools/rust/rust-source.inc +1 -1
index f0681c8776..0cd329fb49 100644
@@ -11,7 +11,7 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n
             file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \
             file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \
 "
-SRC_URI[rust.sha256sum] = "ab826e84b8d48ec6eda3370065034dea8c006f6a946d78a9ba12bcb50e6d3c7a"
+SRC_URI[rust.sha256sum] = "0b9ca1e2e45b8a5f0b58db140af0dc92f8311faeb0ad883c5b71a72c02dc6e80"
 
 RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
 
meta/recipes-devtools/rust/rust_1.80.0.bb renamed from meta/recipes-devtools/rust/rust_1.79.0.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/rust/rust_1.79.0.bb
rename to meta/recipes-devtools/rust/rust_1.80.0.bb
Signature · 1 line
2.43.0
#1 lore raw

Testing Summary for rust_1.80.0

Target       pass       skipped
x86_64    18256         434
x86         18087         604
ARM64   18113         577
ARM       18069         621
ppc         18037         653

thanks,
Harish