[meta-lts-mixins][scarthgap/rust][PATCH 32/35] rust: Upgrade 1.96.0 -> 1.96.1

Scott Murray <[email protected]> Fri, 31 Jul 2026 07:33:02 -0400
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <d35e44cdb22930da8be71f57c562d8427678a058.1785496469.git.scott.murray@konsulko.com>
From: Sundeep KOKKONDA <[email protected]>

https://blog.rust-lang.org/2026/06/30/Rust-1.96.1/

Rust 1.96.1 fixes:
- Missing retries / timeouts in Cargo's HTTP client
- Miscompilation in a MIR optimization
- Cargo CVEs:: CVE-2025-15661, CVE-2026-55199, CVE-2026-55200

Test results:
No changes

Assisted-by: Kiro
Signed-off-by: Sundeep KOKKONDA <[email protected]>
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(adapted from oe-core commit 94749b6f915e18141e62f4f7b4bbec53687b897e)
Signed-off-by: Scott Murray <[email protected]>
---
 conf/layer.conf                                                 | 2 +-
 recipes-devtools/rust/{cargo_1.96.0.bb => cargo_1.96.1.bb}      | 0
 .../rust/{libstd-rs_1.96.0.bb => libstd-rs_1.96.1.bb}           | 0
 ...t-cross-canadian_1.96.0.bb => rust-cross-canadian_1.96.1.bb} | 0
 .../rust/{rust-llvm_1.96.0.bb => rust-llvm_1.96.1.bb}           | 0
 recipes-devtools/rust/rust-source.inc                           | 2 +-
 recipes-devtools/rust/{rust_1.96.0.bb => rust_1.96.1.bb}        | 0
 7 files changed, 2 insertions(+), 2 deletions(-)
 rename recipes-devtools/rust/{cargo_1.96.0.bb => cargo_1.96.1.bb} (100%)
 rename recipes-devtools/rust/{libstd-rs_1.96.0.bb => libstd-rs_1.96.1.bb} (100%)
 rename recipes-devtools/rust/{rust-cross-canadian_1.96.0.bb => rust-cross-canadian_1.96.1.bb} (100%)
 rename recipes-devtools/rust/{rust-llvm_1.96.0.bb => rust-llvm_1.96.1.bb} (100%)
 rename recipes-devtools/rust/{rust_1.96.0.bb => rust_1.96.1.bb} (100%)

diff --git a/conf/layer.conf b/conf/layer.conf
index 36d14f4..3c5351e 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -15,4 +15,4 @@ LAYERDEPENDS_scarthgap-rust-mixin = "core"
 
 LICENSE_PATH += "${LAYERDIR}/files/common-licenses"
 
-RUSTVERSION ?= "1.96.0%"
+RUSTVERSION ?= "1.96.1%"
diff --git a/recipes-devtools/rust/cargo_1.96.0.bb b/recipes-devtools/rust/cargo_1.96.1.bb
similarity index 100%
rename from recipes-devtools/rust/cargo_1.96.0.bb
rename to recipes-devtools/rust/cargo_1.96.1.bb
diff --git a/recipes-devtools/rust/libstd-rs_1.96.0.bb b/recipes-devtools/rust/libstd-rs_1.96.1.bb
similarity index 100%
rename from recipes-devtools/rust/libstd-rs_1.96.0.bb
rename to recipes-devtools/rust/libstd-rs_1.96.1.bb
diff --git a/recipes-devtools/rust/rust-cross-canadian_1.96.0.bb b/recipes-devtools/rust/rust-cross-canadian_1.96.1.bb
similarity index 100%
rename from recipes-devtools/rust/rust-cross-canadian_1.96.0.bb
rename to recipes-devtools/rust/rust-cross-canadian_1.96.1.bb
diff --git a/recipes-devtools/rust/rust-llvm_1.96.0.bb b/recipes-devtools/rust/rust-llvm_1.96.1.bb
similarity index 100%
rename from recipes-devtools/rust/rust-llvm_1.96.0.bb
rename to recipes-devtools/rust/rust-llvm_1.96.1.bb
diff --git a/recipes-devtools/rust/rust-source.inc b/recipes-devtools/rust/rust-source.inc
index 3aa3fe6..cc2de41 100644
--- a/recipes-devtools/rust/rust-source.inc
+++ b/recipes-devtools/rust/rust-source.inc
@@ -10,7 +10,7 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n
             file://0003-explicit-tail-calls-disable-two-tests.patch;patchdir=${RUSTSRC} \
             file://0004-explicit-tail-calls-ignore-tests-on-unsupported-llvm.patch;patchdir=${RUSTSRC} \
 "
-SRC_URI[rust.sha256sum] = "b99ce16cdf0ecfc761b585ac84d131b46733465a02f8ecd0ff2de9713c62ee09"
+SRC_URI[rust.sha256sum] = "77a6ff3003a4ad0cb00697b043c879e3e1a15d945b1a1f63818903bfc3fa8b98"
 
 RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
 
diff --git a/recipes-devtools/rust/rust_1.96.0.bb b/recipes-devtools/rust/rust_1.96.1.bb
similarity index 100%
rename from recipes-devtools/rust/rust_1.96.0.bb
rename to recipes-devtools/rust/rust_1.96.1.bb
-- 
2.55.0