]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rust: Upgrade 1.86.0 -> 1.87.0
authorYash Shinde <Yash.Shinde@windriver.com>
Wed, 25 Jun 2025 10:20:13 +0000 (03:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jun 2025 08:51:33 +0000 (09:51 +0100)
commit16ce25e6970b4a50f6433606a0c87d22ec74ea5a
treefdea17ed6aef8a270c591eee2ed15ced605e2c1a
parent42141da566c9512b338900967e7e81e9e8b49150
rust: Upgrade 1.86.0 -> 1.87.0

Rust stable version updated to 1.87.0.
https://blog.rust-lang.org/2025/05/15/Rust-1.87.0/

* Update LLVM data-layout for arm64.
  LLVM requires matching data layouts and
  the aarch64 llvm data-layout was updated to to allow using
  32-bit signed/unsigned pointers when building 64-bit targets
  using 270, 271 and 272 address spaces.

  https://github.com/rust-lang/rust/commit/e9853961452b56997cc127b51308879b9cd09482
  https://github.com/llvm/llvm-project/commit/c9f27275c1330a325661bdf14fb3bc444a5e3648

* Rebase existing patches with v1.87.0.

* Two tests from the `ui` and `codegen` modules now fail only on riscv64.
  Enable them on arm32/64 and x86-32/64 targets, while restricting
  them on riscv64 via `only-<target_arch>` tags.

  Test Results Summary:

  +-----------+--------+---------+
  | Machine   | Passed | Ignored |
  +-----------+--------+---------+
  | arm-32    | 28,320 | 901     |
  | arm-64    | 28,400 | 849     |
  | x86-32    | 28,285 | 885     |
  | x86-64    | 28,518 | 676     |
  | riscv-64  | 27,845 | 868     |
  +-----------+--------+---------+

* Backport triagebot.patch to skip tidy linkcheck when triagebot.toml
  is not present. Distribution tarballs won't include triagebot.toml,
  which causes tidy checks to fail.
  This backport ensures tidy checks can still run successfully
  even when the file is missing.

  https://github.com/rust-lang/rust/pull/142666/commits

* During rust installation, some binaries were installed from
  'stage2-tools' built path to '${D}${bindir}'. However, from
  v1.87 the stage2-tools are no longer built by default.
  Update logic to install from `stage1-tools` instead.

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 files changed:
meta/classes-recipe/rust-target-config.bbclass
meta/conf/distro/include/tcmode-default.inc
meta/recipes-devtools/rust/cargo_1.87.0.bb [moved from meta/recipes-devtools/rust/cargo_1.86.0.bb with 100% similarity]
meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.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/triagebot.patch [new file with mode: 0644]
meta/recipes-devtools/rust/libstd-rs_1.87.0.bb [moved from meta/recipes-devtools/rust/libstd-rs_1.86.0.bb with 100% similarity]
meta/recipes-devtools/rust/rust-cross-canadian_1.87.0.bb [moved from meta/recipes-devtools/rust/rust-cross-canadian_1.86.0.bb with 100% similarity]
meta/recipes-devtools/rust/rust-llvm_1.87.0.bb [moved from meta/recipes-devtools/rust/rust-llvm_1.86.0.bb with 96% similarity]
meta/recipes-devtools/rust/rust-snapshot.inc
meta/recipes-devtools/rust/rust-source.inc
meta/recipes-devtools/rust/rust_1.87.0.bb [moved from meta/recipes-devtools/rust/rust_1.86.0.bb with 99% similarity]