On 2/1/2026 1:21 PM, Mathieu Dubois-Briand via lists.openembedded.org wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

On Fri Jan 30, 2026 at 2:41 PM CET, Hemanth.KumarMD via lists.openembedded.org 
wrote:
From: Hemanth Kumar M D <[email protected]>

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 <[email protected]>
---
Hi Hemanth,

Thanks for the upgrade.

I suspect this is responsible of the
runtime_test.RustKernel.test_kernel_rust_sample selftest failure:

2026-01-31 16:20:41,991 - oe-selftest - INFO - 
runtime_test.RustKernel.test_kernel_rust_sample (subunit.RemotedTestCase)
2026-01-31 16:20:41,994 - oe-selftest - INFO -  ... FAIL
...
ERROR: linux-yocto-6.16.11+git-r0 do_compile: Execution of 
'/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-766138/tmp/work/qemux86_64-poky-linux/linux-yocto/6.16.11+git/temp/run.do_compile.189616'
 failed with exit code 1
...
| error: unknown unstable option: `no-jump-tables`

https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3127
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3022

Can you have a look at what is going wrong here?
Hi Mathieu,

This issue was already identified in upstream when building linux Kernel with rust-1.93.0, They have taken fix to linux kernel v6.18/master.
But it is not present in linux kernel v6.16:
https://github.com/torvalds/linux/commit/789521b4717fd6bd85164ba5c131f621a79c9736

To address this, I will submit a backport of the upstream change to linux-yocto v6.16/standard/base.

Thanks,
Harish

Thanks,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230374): 
https://lists.openembedded.org/g/openembedded-core/message/230374
Mute This Topic: https://lists.openembedded.org/mt/117544255/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to