mbox series

[meta-lts-mixins,kirkstone/rust,00/33] Update to Rust 1.78.0

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

Message

Scott Murray Aug. 28, 2024, 8:08 p.m. UTC
This patch series for the kirkstone/rust mixin layer backports the
various Rust toolchain changes in oe-core master to get through the
1.75.0 -> 1.76.0 -> 1.77.0 -> 1.78.0 updates that have landed in
the last few months in oe-core.  As the updated README.md mentions,
not all of those interim versions have been tested at this time,
so you will want to do some validation testing (which you likely
should be doing, anyways) if you want to point at e.g. 1.76.0.
I intend to push this series to kirkstone/rust within 48 hours
unless a serious showstopper is pointed out.

Once the dust has settled on the update to 1.79.0 in oe-core, I
should have that out relatively quickly as a follow-up to this
series.

Changes:

Alex Kiernan (2):
  packagegroup-rust-sdk-target: Add Rust SDK target packagegroup
  packagegroup-rust-sdk-target: Add cargo

Alexander Kanavin (6):
  librsvg: upgrade 2.56.3 -> 2.57.1
  rust: correctly link rust-snapshot into build/stage0
  rust: add reproducibility patch to eliminate host leakage
  rust: use rust-snapshot binaries only in rust-native
  rust: build the default set of tools
  devtool/upgrade: rename RECIPE_UPDATE_EXTRA_TASKS ->
    RECIPE_UPGRADE_EXTRA_TASKS

Chris Spencer (1):
  cargo_common.bbclass: Support git repos with submodules

Harish Sadineni (1):
  rust: set CVE_STATUS for CVE-2024-24576

Peter Marko (2):
  cargo: remove True option to getVar calls
  libstd-rs,rust-cross-canadian: set CVE_PRODUCT to rust

Ross Burton (2):
  librsvg: don't try to run target code at build time
  librsvg: upgrade to 2.57.3

Scott Murray (3):
  Add ptest-cargo.bbclass
  Add cairo backport
  Rework and update README

Sundeep KOKKONDA (2):
  rust: reproducibility issue fix with v1.75
  rust: rustdoc reproducibility issue fix

Tim Orling (1):
  cargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKS

Tronje Krabbe (1):
  rust-target-config: Update data layouts for 32-bit arm targets

Wang Mingyu (2):
  librsvg: upgrade 2.57.3 -> 2.58.1
  librsvg: upgrade 2.58.1 -> 2.58.2

Willy Tu (1):
  rust-target-config: fix feature for vfpv4f16

Yash Shinde (9):
  rust: Oe-selftest fixes for rust v1.76
  rust: Upgrade 1.75.0->1.76.0
  rust: reproducibility issue fix with v1.76
  rust: Oe-selftest changes for rust v1.77
  rust: Upgrade 1.76.0->1.77.0
  rust: Upgrade 1.77.0->1.77.1
  rust: Upgrade 1.77.1->1.77.2
  rust: Oe-selftest changes for rust v1.78
  rust: Upgrade 1.77.2->1.78.0

 README                                        |   40 -
 README.md                                     |   88 +
 classes/cargo-update-recipe-crates.bbclass    |    2 +
 classes/cargo_common.bbclass                  |    6 +-
 classes/ptest-cargo.bbclass                   |  138 ++
 classes/rust-target-config.bbclass            |    7 +-
 conf/layer.conf                               |    2 +-
 .../packagegroup-rust-sdk-target.bb           |   14 +
 .../rust/{cargo_1.75.0.bb => cargo_1.78.0.bb} |    0
 ...endored-sources-when-remapping-paths.patch |   46 -
 ...e-absolute-paths-to-OUT_DIR-as-relat.patch |   67 -
 ...te-host-information-into-compilation.patch |   51 +
 recipes-devtools/rust/files/cargo-path.patch  |   37 -
 .../rust/files/cross-targets-backport.patch   |   31 +
 .../rust/files/custom-target-cfg.patch        |   90 -
 .../rust/files/hardcodepaths.patch            |   49 +-
 ...epro-issue-fix-with-cc-crate-hashmap.patch |  114 ++
 .../files/repro-issue-fix-with-v175.patch     |   23 -
 .../rust/files/rust-oe-selftest.patch         |  392 +++++
 .../rust/files/rustc-bootstrap.patch          |   21 -
 ...ue-fix-cargo-config-for-codegenunits.patch |   26 +
 .../files/rv32-cargo-rustix-0.38.19-fix.patch |   70 -
 .../files/rv32-cargo-rustix-0.38.28-fix.patch |   70 +
 .../rust/files/rv32-missing-syscalls.patch    | 1503 ----------------
 .../rust/files/rv32-rustix-libc-backend.patch |    5 +-
 .../rust/files/target-build-value.patch       |   26 -
 .../rust/files/zlib-off64_t.patch             |   27 +-
 ...ibstd-rs_1.75.0.bb => libstd-rs_1.78.0.bb} |    2 +
 recipes-devtools/rust/rust-cross-canadian.inc |    1 +
 ....75.0.bb => rust-cross-canadian_1.78.0.bb} |    0
 ...ust-llvm_1.75.0.bb => rust-llvm_1.78.0.bb} |    0
 recipes-devtools/rust/rust-snapshot.inc       |   69 +-
 recipes-devtools/rust/rust-source.inc         |   19 +-
 .../rust/{rust_1.75.0.bb => rust_1.78.0.bb}   |   22 +-
 recipes-gnome/librsvg/librsvg-crates.inc      |  778 ++++-----
 .../librsvg/0001-Add-riscv32-support.patch    | 1511 -----------------
 ...-rust-target-to-cargo-also-when-not-.patch |   13 +-
 .../librsvg/disable-rsvg-loader-test.patch    |   40 +
 .../{librsvg_2.56.3.bb => librsvg_2.58.2.bb}  |    7 +-
 ...tmap_surface-bsc1036789-CVE-2017-7475.diff |   22 +
 recipes-graphics/cairo/cairo_1.18.0.bb        |   86 +
 41 files changed, 1561 insertions(+), 3954 deletions(-)
 delete mode 100644 README
 create mode 100644 README.md
 create mode 100644 classes/ptest-cargo.bbclass
 create mode 100644 recipes-core/packagegroups/packagegroup-rust-sdk-target.bb
 rename recipes-devtools/rust/{cargo_1.75.0.bb => cargo_1.78.0.bb} (100%)
 delete mode 100644 recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch
 delete mode 100644 recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch
 create mode 100644 recipes-devtools/rust/files/0001-cargo-do-not-write-host-information-into-compilation.patch
 delete mode 100644 recipes-devtools/rust/files/cargo-path.patch
 create mode 100644 recipes-devtools/rust/files/cross-targets-backport.patch
 delete mode 100644 recipes-devtools/rust/files/custom-target-cfg.patch
 create mode 100644 recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch
 delete mode 100644 recipes-devtools/rust/files/repro-issue-fix-with-v175.patch
 create mode 100644 recipes-devtools/rust/files/rust-oe-selftest.patch
 delete mode 100644 recipes-devtools/rust/files/rustc-bootstrap.patch
 create mode 100644 recipes-devtools/rust/files/rustdoc-repro-issue-fix-cargo-config-for-codegenunits.patch
 delete mode 100644 recipes-devtools/rust/files/rv32-cargo-rustix-0.38.19-fix.patch
 create mode 100644 recipes-devtools/rust/files/rv32-cargo-rustix-0.38.28-fix.patch
 delete mode 100644 recipes-devtools/rust/files/rv32-missing-syscalls.patch
 delete mode 100644 recipes-devtools/rust/files/target-build-value.patch
 rename recipes-devtools/rust/{libstd-rs_1.75.0.bb => libstd-rs_1.78.0.bb} (98%)
 rename recipes-devtools/rust/{rust-cross-canadian_1.75.0.bb => rust-cross-canadian_1.78.0.bb} (100%)
 rename recipes-devtools/rust/{rust-llvm_1.75.0.bb => rust-llvm_1.78.0.bb} (100%)
 rename recipes-devtools/rust/{rust_1.75.0.bb => rust_1.78.0.bb} (94%)
 delete mode 100644 recipes-gnome/librsvg/librsvg/0001-Add-riscv32-support.patch
 create mode 100644 recipes-gnome/librsvg/librsvg/disable-rsvg-loader-test.patch
 rename recipes-gnome/librsvg/{librsvg_2.56.3.bb => librsvg_2.58.2.bb} (91%)
 create mode 100644 recipes-graphics/cairo/cairo/cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff
 create mode 100644 recipes-graphics/cairo/cairo_1.18.0.bb