Skip to content

Update to Rust 1.87.0

Scott Murray yocto-patches 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13ptest-cargo: fix tests output format for testimageclasses/ptest-cargo.bbclass+11 -10 replies
2/13rust: re-enable the unit tests that are previously ignoredrecipes-devtools/rust/files/rust-oe-selftest.patch+0 -440 replies
3/13oeqa/selftest/rust: Add exclusion to fix riscv64 buildslib/oeqa/selftest/cases/rust_mixin.py+1 -00 replies
4/13rust: Use patchelf in place of chrpath to edit rpathsrecipes-devtools/rust/rust_1.85.1.bb+6 -50 replies
5/13rust: remove python3-native DEPENDSrecipes-devtools/rust/rust_1.85.1.bb+1 -10 replies
6/13rust: consolidate rust-llvm dependenciesrecipes-devtools/rust/rust_1.85.1.bb+1 -60 replies
7/13rust: remove file-native DEPENDSrecipes-devtools/rust/rust_1.85.1.bb+1 -10 replies
8/13rust: Disable cross-unwinding support in llvm libunwindrecipes-devtools/rust/files/0001-Disable-libunwind-cross-architecture-unwinding.patch recipes-devtools/rust/rust-source.inc+47 -00 replies
9/13Make dynamic layer rust bbappend version genericdynamic-layers/meta-python/recipes-devtools/rust/rust_%.bbappend+0 -00 replies
10/13rust: Upgrade 1.85.1->1.86.0conf/layer.conf lib/oeqa/selftest/cases/rust_mixin.py recipes-devtools/rust/cargo_1.86.0.bb +10 more+152 -1590 replies
11/13rust: Drop obsolete rust-lld and extended tools dependenciesrecipes-devtools/rust/rust_1.86.0.bb+3 -80 replies
12/13rust: Upgrade 1.86.0 -> 1.87.0classes/rust-target-config.bbclass conf/layer.conf recipes-devtools/rust/cargo_1.87.0.bb +11 more+186 -1310 replies
13/13cargo-c-native: Update 0.10.5 -> 0.10.13recipes-devtools/rust/cargo-c-crates.inc recipes-devtools/rust/cargo-c/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch recipes-devtools/rust/cargo-c_0.10.13+cargo-0.88.0.bb+505 -4460 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-lts-mixins][kirkstone/rust][PATCH 00/13] Update to Rust 1.87.0

This patch series for the kirkstone/rust mixin layer backports the recent Rust toolchain changes in oe-core master branch to pull in the 1.85.1 -> 1.87.0 updates. In addition to my usual smoke test of building librsvg and python-cryptography, etc., I did some experiments with the backported selftest this go around, and to my surprise all tests but one (a simd one) pass in my test environment. When I get some time, I plan to go through the selftest change history to see if that test can be ignored with the older kirkstone toolchain or not (I believe it was being ignored at one point, but need to double-check). If you happen to have a strong desire to see the selftest working usefully with kirkstone/rust, assistance would be appreciated.

With respect to the mozjs-* support via the dynamic-layers applied bbappends, I have renamed the rust bbappend that's in there so it won't break parsing, but from the looks of it the underlying issue needs to be reinvestigated, as its use of RUST_BUILD_CCLD is now incorrect AFAICT (results in a path into WORKDIR that is not usable). As well, mozjs-91 builds fine for me without that bbappend, so I suspect it likely will be better if it is replaced with a more contained mozjs-78 tweak done with a bbappend to its recipe. That will also make testing less painful as it will not affect sstate the way a rust bbappend does...

I intend to push this series to scarthgap/rust within 24 hours unless a serious showstopper is pointed out.

Changes:

Deepesh Varatharajan (1):
rust: re-enable the unit tests that are previously ignored

Ines KCHELFI (1):
ptest-cargo: fix tests output format for testimage

Khem Raj (2):
rust: Use patchelf in place of chrpath to edit rpaths
rust: Disable cross-unwinding support in llvm libunwind

Richard Purdie (1):
oeqa/selftest/rust: Add exclusion to fix riscv64 builds

Ross Burton (3):
rust: remove python3-native DEPENDS
rust: consolidate rust-llvm dependencies
rust: remove file-native DEPENDS

Scott Murray (1):
Make dynamic layer rust bbappend version generic

Yash Shinde (4):
rust: Upgrade 1.85.1->1.86.0
rust: Drop obsolete rust-lld and extended tools dependencies
rust: Upgrade 1.86.0 -> 1.87.0
cargo-c-native: Update 0.10.5 -> 0.10.13

 classes/ptest-cargo.bbclass                   |  12 +-
 classes/rust-target-config.bbclass            |   2 +-
 conf/layer.conf                               |   2 +-
 .../{rust_1.85.1.bbappend => rust_%.bbappend} |   0
 lib/oeqa/selftest/cases/rust_mixin.py         |   3 +-
 recipes-devtools/rust/cargo-c-crates.inc      | 910 ++++++++++--------
 ...l-codes-on-riscv32gc-unknown-linux-g.patch |  38 -
 ...3.0.bb => cargo-c_0.10.13+cargo-0.88.0.bb} |   3 +-
 .../rust/{cargo_1.85.1.bb => cargo_1.87.0.bb} |   0
 ...l-codes-on-riscv32gc-unknown-linux-g.patch |  32 -
 ...bunwind-cross-architecture-unwinding.patch |  46 +
 ...teps-tool.rs-switch-off-lto-for-rust.patch |  64 +-
 .../Zdual-proc-macros-additional-check.patch  |  31 -
 ...crease-timeout-in-process-sigpipe-ru.patch |   4 +-
 ...d-statically-in-rustc_driver-feature.patch |  11 +-
 .../rust/files/rust-oe-selftest.patch         | 254 +++--
 recipes-devtools/rust/files/triagebot.patch   |  32 +
 ...ibstd-rs_1.85.1.bb => libstd-rs_1.87.0.bb} |   2 +-
 ....85.1.bb => rust-cross-canadian_1.87.0.bb} |   0
 ...ust-llvm_1.85.1.bb => rust-llvm_1.87.0.bb} |   2 +-
 recipes-devtools/rust/rust-snapshot.inc       |  78 +-
 recipes-devtools/rust/rust-source.inc         |   5 +-
 .../rust/{rust_1.85.1.bb => rust_1.87.0.bb}   |  29 +-
 23 files changed, 836 insertions(+), 724 deletions(-)
 rename dynamic-layers/meta-python/recipes-devtools/rust/{rust_1.85.1.bbappend => rust_%.bbappend} (100%)
 delete mode 100644 recipes-devtools/rust/cargo-c/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
 rename recipes-devtools/rust/{cargo-c_0.10.5+cargo-0.83.0.bb => cargo-c_0.10.13+cargo-0.88.0.bb} (64%)
 rename recipes-devtools/rust/{cargo_1.85.1.bb => cargo_1.87.0.bb} (100%)
 create mode 100644 recipes-devtools/rust/files/0001-Disable-libunwind-cross-architecture-unwinding.patch
 delete mode 100644 recipes-devtools/rust/files/Zdual-proc-macros-additional-check.patch
 create mode 100644 recipes-devtools/rust/files/triagebot.patch
 rename recipes-devtools/rust/{libstd-rs_1.85.1.bb => libstd-rs_1.87.0.bb} (95%)
 rename recipes-devtools/rust/{rust-cross-canadian_1.85.1.bb => rust-cross-canadian_1.87.0.bb} (100%)
 rename recipes-devtools/rust/{rust-llvm_1.85.1.bb => rust-llvm_1.87.0.bb} (99%)
 rename recipes-devtools/rust/{rust_1.85.1.bb => rust_1.87.0.bb} (94%)
Signature · 1 line
2.50.0