]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rust: Upgrade 1.92.0 -> 1.93.0
authorHemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Fri, 30 Jan 2026 13:41:37 +0000 (05:41 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Feb 2026 09:51:43 +0000 (09:51 +0000)
commitee1a997f0fa7a7bc42d3d38f994e3701295095fc
treefc9bd92cfa85d1f816c8b1134ce5b74d0182ea0f
parent9b55e191fb598d9bad25ba774e7d6a82f446c3d9
rust: Upgrade 1.92.0 -> 1.93.0

https://blog.rust-lang.org/2026/01/22/Rust-1.93.0/
Rust changes: https://github.com/rust-lang/rust/releases/tag/1.93.0
Cargo changes: https://doc.rust-lang.org/nightly/cargo/CHANGELOG.html#cargo-193-2026-01-22

* rust-oe-selftest.patch updated for 1.93:
  Renamed UI test directive from add-core-stubs to add-minicore as in
  https://github.com/rust-lang/rust/commit/3796f7de57f5d4cf4325d1f13aeb07fdaa57983b

* OE-selftests:
  - Exclude src/tools/remote-test-client from test suite.
    This unit test modifies the TEST_DEVICE_ADDR environment variable,
    which breaks the OE test harness that uses the same variable for
    QEMU remote testing. Filed a bug with upstream:
    https://github.com/rust-lang/rust/issues/151823

  - Enable +v8a feature for cortexa57.
    Rust 1.93.0 added a regression test (PR #149549) to verify that the
    ARMv8-A system register ttbr0_el2 is recognized in inline assembly.
    This addresses issue #97724 where LLVM wasn't recognizing ttbr0_el2
    as a valid register. Upstream Rust enables +v8a by default for all
    AArch64 targets (PR #105026), but Yocto's custom target specification
    doesn't inherit this. Adding +v8a ensures LLVM recognizes ARMv8-A
    system registers, fixing the test failure.

    Related upstream links:
    - PR #149549: https://github.com/rust-lang/rust/pull/149549
    - Issue #97724: https://github.com/rust-lang/rust/issues/97724
    - PR #105026: https://github.com/rust-lang/rust/pull/105026

Test results:

rust v1.93.0
+-------------+--------+---------+
| Machine     | Passed | Skipped |
+-------------+--------+---------+
| qemux86-64  | 21,689 |   646   |
| qemux86     | 21,439 |   896   |
| qemuarm64   | 21,495 |   840   |
| qemuarm     | 21,421 |   914   |
| qemuriscv64 | 21,466 |   869   |
+-------------+--------+---------+

Test results difference (1.93.0 - 1.92.0):

+-------------+--------+---------+
| Machine     | Passed | Skipped |
+-------------+--------+---------+
| qemux86-64  |  +205  |   +33   |
| qemux86     |  +205  |   +33   |
| qemuarm64   |  +206  |   +32   |
| qemuarm     |  +205  |   +33   |
| qemuriscv64 |  +205  |   +33   |
+-------------+--------+---------+

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.93.0.bb [moved from meta/recipes-devtools/rust/cargo_1.92.0.bb with 100% similarity]
meta/recipes-devtools/rust/files/rust-oe-selftest.patch
meta/recipes-devtools/rust/libstd-rs_1.93.0.bb [moved from meta/recipes-devtools/rust/libstd-rs_1.92.0.bb with 100% similarity]
meta/recipes-devtools/rust/rust-cross-canadian_1.93.0.bb [moved from meta/recipes-devtools/rust/rust-cross-canadian_1.92.0.bb with 100% similarity]
meta/recipes-devtools/rust/rust-snapshot.inc
meta/recipes-devtools/rust/rust-source.inc
meta/recipes-devtools/rust/rust_1.93.0.bb [moved from meta/recipes-devtools/rust/rust_1.92.0.bb with 100% similarity]