mbox series

[meta-lts-mixins,kirkstone/rust,00/10] Update to Rust 1.81.0

Message ID cover.1739300779.git.scott.murray@konsulko.com
Headers show
Series Update to Rust 1.81.0 | expand

Message

Scott Murray Feb. 11, 2025, 7:17 p.m. UTC
This patch series for the kirkstone/rust mixin layer backports the
various Rust toolchain changes in oe-core master to to pull in the
1.80.0 -> 1.80.1 updates that have landed in the last few months in
oe-core.  There are a couple of notable policy changes coming with
this set:

- Since librsvg 2.59.x is not buildable on kirksone due to its
  meson 1.2.0 requirement, I am for now freezing librsvg to the
  latest (and likely last) 2.58.x release, 2.58.5.  If that stops
  building with newer versions of Rust, this will be re-evaluated.
- I had included a backport of cargo-c since it is required for
  librsvg 2.59.x, and have decided to keep it even though that
  librsvg bump has been dropped.  The reasoning for this is to
  simplify future backporting, and to provide some consistency
  with the availabile version.

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

Changes:

Adrian Freihofer (1):
  rust: increase test timeout again

Alexander Kanavin (3):
  cargo.bbclass: do not install libraries by default
  cargo-c-native: update 0.10.3 -> 0.10.5
  cargo-c: convert to target recipe

Deepesh Varatharajan (3):
  rust-target-config: Update the data layout for x86 , ppc , riscv64 ,
    aarch64 and loongaarch64 targets.
  rust: Fix for duplicate libstd.so
  rust: Upgrade 1.80.1->1.81.0

Enrico Scholz (1):
  rust-common: add LDFLAGS to 'build-rust-cc' wrapper

Scott Murray (2):
  Add cargo-c backport
  librsvg: upgrade to 2.58.5

 README.md                                     |   4 +
 classes/cargo.bbclass                         |   8 +-
 classes/cargo_c.bbclass                       |  41 ++
 classes/rust-common.bbclass                   |   2 +-
 classes/rust-target-config.bbclass            |  18 +-
 conf/layer.conf                               |   2 +-
 recipes-devtools/rust/cargo-c-crates.inc      | 682 ++++++++++++++++++
 .../rust/cargo-c_0.10.5+cargo-0.83.0.bb       |  17 +
 .../rust/{cargo_1.80.1.bb => cargo_1.81.0.bb} |   0
 ...te-host-information-into-compilation.patch |  51 --
 .../rust/files/hardcodepaths.patch            |  46 --
 ...crease-timeout-in-process-sigpipe-ru.patch |   2 +-
 ...epro-issue-fix-with-cc-crate-hashmap.patch |  53 +-
 .../rust/files/zlib-off64_t.patch             |  14 +-
 ...ibstd-rs_1.80.1.bb => libstd-rs_1.81.0.bb} |   0
 ....80.1.bb => rust-cross-canadian_1.81.0.bb} |   0
 ...ust-llvm_1.80.1.bb => rust-llvm_1.81.0.bb} |   0
 recipes-devtools/rust/rust-snapshot.inc       |  78 +-
 recipes-devtools/rust/rust-source.inc         |   4 +-
 .../rust/{rust_1.80.1.bb => rust_1.81.0.bb}   |   2 +
 recipes-gnome/librsvg/librsvg-crates.inc      |  10 +-
 .../{librsvg_2.58.2.bb => librsvg_2.58.5.bb}  |   2 +-
 22 files changed, 866 insertions(+), 170 deletions(-)
 create mode 100644 classes/cargo_c.bbclass
 create mode 100644 recipes-devtools/rust/cargo-c-crates.inc
 create mode 100644 recipes-devtools/rust/cargo-c_0.10.5+cargo-0.83.0.bb
 rename recipes-devtools/rust/{cargo_1.80.1.bb => cargo_1.81.0.bb} (100%)
 delete mode 100644 recipes-devtools/rust/files/0001-cargo-do-not-write-host-information-into-compilation.patch
 delete mode 100644 recipes-devtools/rust/files/hardcodepaths.patch
 rename recipes-devtools/rust/{libstd-rs_1.80.1.bb => libstd-rs_1.81.0.bb} (100%)
 rename recipes-devtools/rust/{rust-cross-canadian_1.80.1.bb => rust-cross-canadian_1.81.0.bb} (100%)
 rename recipes-devtools/rust/{rust-llvm_1.80.1.bb => rust-llvm_1.81.0.bb} (100%)
 rename recipes-devtools/rust/{rust_1.80.1.bb => rust_1.81.0.bb} (99%)
 rename recipes-gnome/librsvg/{librsvg_2.58.2.bb => librsvg_2.58.5.bb} (96%)