Hi Deepesh,

On 2026-05-13 04:48, [email protected] wrote:
From: Deepesh Varatharajan<[email protected]>

Rust Changes:
https://github.com/rust-lang/rust/releases/tag/1.95.0

Cargo Changes:
https://doc.rust-lang.org/nightly/cargo/CHANGELOG.html#cargo-195-2026-04-16

Drop merged patches:
0001-Adjust-loongarch-assembly-test.patch
0001-Fix-flaky-assertions-in-oneshot-tests.patch
0001-Update-amdgpu-data-layout.patch

Updated patches:
0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
rust-oe-selftest.patch

New patch:
0002-Fix-rust-build-failure-with-unstable-options.patch
https://github.com/rust-lang/rust/issues/155963

Overall, I think we should merge this to just keep pace with Rust releases
as Richard was saying. The next scheduled release is:
1.96.0 <https://releases.rs/docs/1.96.0> (28 May, 2026, 15 days left) https://releases.rs/

Your patch clearly works but I wonder if it would be better to just revert
the upstream commit (s) that forced us to use: -Zunstable-option

I found this commit but maybe there are more that are required.

❯ git log -1 6c4c4384e8f6
commit 6c4c4384e8f66476214d56b82313c39472c8215e
Author: David Wood <[email protected]>
Date:   Fri Dec 19 06:37:22 2025

    destabilise target-spec-json


Think about my comment, and please reply here and if you like, send a v2
with an updated commit log explaining why you did a patch rather than a revert.



Selftest Changes:
Skip two failing tests
src/librustdoc
src/tools/rustdoc
https://github.com/rust-lang/rust/pull/153409

Excluded tests:
+--------+----------+---------+
| Before  |  After  | Skipped |
+---------+---------+---------+
|   37    |   39    |   +2    |
+--------+----------+---------+

Test results:

rust v1.95.0
+-------------+---------+---------+
| Machine     | Passed  | Skipped |
+-------------+---------+---------+
| qemux86-64  |  22187  |   689   |
| qemux86     |  21929  |   947   |
| qemuarm64   |  21994  |   882   |
| qemuarm     |  21910  |   966   |
| qemuriscv64 |  21955  |   921   |
+-------------+---------+---------+

Test results difference (1.95.0 - 1.94.1):

+-------------+--------+---------+
| Machine     | Passed | Skipped |
+-------------+--------+---------+
| qemux86-64  |  +276  |   +29   |
| qemux86     |  +271  |   +34   |
| qemuarm64   |  +271  |   +34   |
| qemuarm     |  +271  |   +34   |
| qemuriscv64 |  +270  |   +35   |
+-------------+--------+---------+

More tests passing is good but skipping more tests isn't good.
For now, it's okay but we'll have to work on reducing the skipped tests.

../Randy



Signed-off-by: Deepesh Varatharajan<[email protected]>
---
  meta/conf/distro/include/tcmode-default.inc   |   2 +-
  meta/lib/oeqa/selftest/cases/rust.py          |   2 +-
  .../rust/{cargo_1.94.1.bb => cargo_1.95.0.bb} |   0
  .../0001-Adjust-loongarch-assembly-test.patch |  66 -----------
  ...ix-flaky-assertions-in-oneshot-tests.patch |  72 ------------
  .../0001-Update-amdgpu-data-layout.patch      |  44 --------
  ...teps-tool.rs-switch-off-lto-for-rust.patch |   4 +-
  ...-build-failure-with-unstable-options.patch |  57 ++++++++++
  .../rust/files/rust-oe-selftest.patch         |  20 +++-
  ...ibstd-rs_1.94.1.bb => libstd-rs_1.95.0.bb} |   0
  ....94.1.bb => rust-cross-canadian_1.95.0.bb} |   0
  meta/recipes-devtools/rust/rust-snapshot.inc  | 104 +++++++++---------
  meta/recipes-devtools/rust/rust-source.inc    |   6 +-
  .../rust/{rust_1.94.1.bb => rust_1.95.0.bb}   |   0
  14 files changed, 129 insertions(+), 248 deletions(-)
  rename meta/recipes-devtools/rust/{cargo_1.94.1.bb => cargo_1.95.0.bb} (100%)
  delete mode 100644 
meta/recipes-devtools/rust/files/0001-Adjust-loongarch-assembly-test.patch
  delete mode 100644 
meta/recipes-devtools/rust/files/0001-Fix-flaky-assertions-in-oneshot-tests.patch
  delete mode 100644 
meta/recipes-devtools/rust/files/0001-Update-amdgpu-data-layout.patch
  create mode 100644 
meta/recipes-devtools/rust/files/0002-Fix-rust-build-failure-with-unstable-options.patch
  rename meta/recipes-devtools/rust/{libstd-rs_1.94.1.bb => 
libstd-rs_1.95.0.bb} (100%)
  rename meta/recipes-devtools/rust/{rust-cross-canadian_1.94.1.bb => 
rust-cross-canadian_1.95.0.bb} (100%)
  rename meta/recipes-devtools/rust/{rust_1.94.1.bb => rust_1.95.0.bb} (100%)
>< snip >< snip ><


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

Reply via email to