]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rust: Upgrade 1.84.1->1.85.0
authorYash Shinde <Yash.Shinde@windriver.com>
Mon, 31 Mar 2025 05:54:21 +0000 (22:54 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Apr 2025 21:08:34 +0000 (22:08 +0100)
commit3130069fdebb92f20b962fa8074564a27c3fb6b9
treea03b060dcf8c465b5b3724c9b90baa81a52bbbd3
parentd64456f6ea58d683993b0bc7294baa889bafdf7b
rust: Upgrade 1.84.1->1.85.0

Rust stable version updated to 1.85.0
https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html

Some of the major updates:

- Update LIC_FILES_CHKSUM in libstd-rs and rust recipes.
License-Update: Unicode license text is updated to Unicode-3.0 License.
https://github.com/rust-lang/rust/commit/6d2a3e9786ec43a0e0af20386e7046328296ac86
[RP: Update LICENSE to reference Unicode-3.0]

- Pass '-Zforce-unstable-if-unmarked' to RUSTFLAGS in libstd-rs.bb
Fix: https://github.com/rust-lang/rust/issues/133857#issuecomment-2526341227

- Downgrade bootstrap cc version causing bootstrap to fail on custom targets. (Backported from v1.85.1)
Fix: https://github.com/rust-lang/rust/pull/137460/commits/e4ca11f87ffca8c63aa56d45b46e62b6acc58bd7

- Explicitly set float ABI for all ARM 32 bits targets.
Fix: https://github.com/rust-lang/rust/commit/a51fefcaab835b310e2e26005b50982d0049d905

- Rust v1.85.0 tarball doesn't ship gcc tree.
Drop "remove_gcc_directory" postfunc which removed it and prevented the bloat.
Fix: https://github.com/rust-lang/rust/commit/13c3f9b9498013837782b46120085ea19ca75518

Adapted the patch changes with v1.85.0:
  repro-issue-fix-with-cc-crate-hashmap.patch
  revert-link-std-statically-in-rustc_driver-feature.patch
  rust-oe-selftest.patch
  rv32-cargo-rustix-0.38.40-fix.patch

Dropped patches:
  fix-tidy-check-failure.patch since it's merged with v1.85.0.

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 files changed:
meta/classes-recipe/rust-target-config.bbclass
meta/conf/distro/include/tcmode-default.inc
meta/recipes-devtools/rust/cargo_1.85.0.bb [moved from meta/recipes-devtools/rust/cargo_1.84.1.bb with 100% similarity]
meta/recipes-devtools/rust/files/downgrade-bootstrap-cc.patch [new file with mode: 0644]
meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch [deleted file]
meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch
meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
meta/recipes-devtools/rust/files/rust-oe-selftest.patch
meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.38-fix.patch [deleted file]
meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.40-fix.patch [new file with mode: 0644]
meta/recipes-devtools/rust/libstd-rs_1.85.0.bb [moved from meta/recipes-devtools/rust/libstd-rs_1.84.1.bb with 88% similarity]
meta/recipes-devtools/rust/rust-cross-canadian_1.85.0.bb [moved from meta/recipes-devtools/rust/rust-cross-canadian_1.84.1.bb with 100% similarity]
meta/recipes-devtools/rust/rust-llvm_1.85.0.bb [moved from meta/recipes-devtools/rust/rust-llvm_1.84.1.bb with 100% similarity]
meta/recipes-devtools/rust/rust-snapshot.inc
meta/recipes-devtools/rust/rust-source.inc
meta/recipes-devtools/rust/rust_1.85.0.bb [moved from meta/recipes-devtools/rust/rust_1.84.1.bb with 99% similarity]