]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rust: Upgrade 1.89.0 -> 1.90.0
authorYash Shinde <Yash.Shinde@windriver.com>
Wed, 24 Sep 2025 09:22:06 +0000 (02:22 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Sep 2025 09:57:40 +0000 (10:57 +0100)
commit86d09ec9cdbcea6e076ebac6e1243f9e20fb4378
tree9c43d7bcfa7d55c2341242694812596897b5ea77
parent5b3d5ae626b0d28535973be2a8a1cf48d314ba12
rust: Upgrade 1.89.0 -> 1.90.0

https://blog.rust-lang.org/2025/09/18/Rust-1.90.0/

* Recent changes in rustc require 'target-c-int-width' to be an integer,
  not a string. This fixes type consistency when generating target specs.
  https://github.com/rust-lang/rust/pull/142352.

* Rebase existing patches with v1.90.0.

* Drop merged patches with rust v1.90.0.
  - backport-fix-test-string-merging.patch
  https://github.com/rust-lang/rust/commit/2d51acd2fbcbadb6f30709c5dd305494d413d388

* The "remote-test-server" bin is now generated in stage1-tools-bin dir
  rather than stage2. Update the test suite accordingly.

  The tests/{assembly/codegen} dirs are renamed to
  tests/{assembly,codegen}-llvm. Update the test suite and
  patches accordingly.
  https://github.com/rust-lang/rust/pull/144249/commits

* Use "//@ ignore-riscv64" tag for tests failing on riscv-64 instead of previous
  "only-<target_arch>" tags.

  Test results summary:

   rust v1.90.0
   +-----------+--------+---------+
   | Machine   | Passed | Ignored |
   +-----------+--------+---------+
   | arm-32    | 29,517 |  1,529  |
   | arm-64    | 29,608 |  1,471  |
   | x86-32    | 29,508 |  1,507  |
   | x86-64    | 29,903 |  1,275  |
   | riscv-64  | 29,584 |  1,494  |
   +-----------+--------+---------+

   Test results difference (1.90 - 1.89):
   +-----------+--------+---------+
   | Machine   | Passed | Ignored |
   +-----------+--------+---------+
   | arm-32    |  +278  |   +61   |
   | arm-64    |  +279  |   +59   |
   | x86-32    |  +277  |   +58   |
   | x86-64    |  +419  |   +50   |
   | riscv-64  |  +280  |   +58   |
   +-----------+--------+---------+

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.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/lib/oeqa/selftest/cases/rust.py
meta/recipes-devtools/rust/cargo_1.90.0.bb [moved from meta/recipes-devtools/rust/cargo_1.89.0.bb with 100% similarity]
meta/recipes-devtools/rust/files/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
meta/recipes-devtools/rust/files/0001-riscv32-Define-plain-syscalls-as-their-time64-varian.patch
meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
meta/recipes-devtools/rust/files/backport-fix-test-string-merging.patch [deleted file]
meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch
meta/recipes-devtools/rust/files/rust-oe-selftest.patch
meta/recipes-devtools/rust/libstd-rs_1.90.0.bb [moved from meta/recipes-devtools/rust/libstd-rs_1.89.0.bb with 100% similarity]
meta/recipes-devtools/rust/rust-cross-canadian_1.90.0.bb [moved from meta/recipes-devtools/rust/rust-cross-canadian_1.89.0.bb with 100% similarity]
meta/recipes-devtools/rust/rust-llvm_1.90.0.bb [moved from meta/recipes-devtools/rust/rust-llvm_1.89.0.bb with 99% similarity]
meta/recipes-devtools/rust/rust-snapshot.inc
meta/recipes-devtools/rust/rust-source.inc
meta/recipes-devtools/rust/rust_1.90.0.bb [moved from meta/recipes-devtools/rust/rust_1.89.0.bb with 100% similarity]