Skip to content

Update to Rust 1.78.0

Scott Murray yocto-patches 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest33 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/33Add ptest-cargo.bbclassclasses/ptest-cargo.bbclass+138 -00 replies
2/33packagegroup-rust-sdk-target: Add Rust SDK target packagegrouprecipes-core/packagegroups/packagegroup-rust-sdk-target.bb+13 -00 replies
3/33packagegroup-rust-sdk-target: Add cargorecipes-core/packagegroups/packagegroup-rust-sdk-target.bb+1 -00 replies
4/33Add cairo backportrecipes-graphics/cairo/cairo/cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff recipes-graphics/cairo/cairo_1.18.0.bb+108 -00 replies
5/33librsvg: upgrade 2.56.3 -> 2.57.1recipes-gnome/librsvg/librsvg-crates.inc recipes-gnome/librsvg/librsvg/0001-Add-riscv32-support.patch recipes-gnome/librsvg/librsvg/0001-Makefile.am-pass-rust-target-to-cargo-also-when-not-.patch +1 more+326 -19000 replies
6/33rust: reproducibility issue fix with v1.75recipes-devtools/rust/files/repro-issue-fix-with-v175.patch+25 -120 replies
7/33rust: set CVE_STATUS for CVE-2024-24576recipes-devtools/rust/rust-source.inc+2 -00 replies
8/33rust-target-config: fix feature for vfpv4f16classes/rust-target-config.bbclass+3 -00 replies
9/33rust: correctly link rust-snapshot into build/stage0recipes-devtools/rust/files/cargo-path.patch recipes-devtools/rust/rust-source.inc recipes-devtools/rust/rust_1.75.0.bb+2 -420 replies
10/33rust: add reproducibility patch to eliminate host leakagerecipes-devtools/rust/files/0001-cargo-do-not-write-host-information-into-compilation.patch recipes-devtools/rust/rust-source.inc+52 -00 replies
11/33rust: use rust-snapshot binaries only in rust-nativerecipes-devtools/rust/rust_1.75.0.bb+12 -20 replies
12/33rust: build the default set of toolsrecipes-devtools/rust/rust_1.75.0.bb+0 -10 replies
13/33cargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKSclasses/cargo-update-recipe-crates.bbclass+2 -00 replies
14/33rust-target-config: Update data layouts for 32-bit arm targetsclasses/rust-target-config.bbclass+2 -20 replies
15/33cargo: remove True option to getVar callsclasses/cargo_common.bbclass classes/ptest-cargo.bbclass+11 -110 replies
16/33librsvg: don't try to run target code at build timerecipes-gnome/librsvg/librsvg/disable-rsvg-loader-test.patch recipes-gnome/librsvg/librsvg_2.57.1.bb+41 -00 replies
17/33librsvg: upgrade to 2.57.3recipes-gnome/librsvg/librsvg/0001-Makefile.am-pass-rust-target-to-cargo-also-when-not-.patch recipes-gnome/librsvg/librsvg_2.57.3.bb+3 -30 replies
18/33librsvg: upgrade 2.57.3 -> 2.58.1recipes-gnome/librsvg/librsvg-crates.inc recipes-gnome/librsvg/librsvg/0001-Makefile.am-pass-rust-target-to-cargo-also-when-not-.patch recipes-gnome/librsvg/librsvg_2.58.1.bb+226 -2040 replies
19/33libstd-rs,rust-cross-canadian: set CVE_PRODUCT to rustrecipes-devtools/rust/libstd-rs_1.75.0.bb recipes-devtools/rust/rust-cross-canadian.inc+3 -00 replies
20/33rust: rustdoc reproducibility issue fixrecipes-devtools/rust/files/rustdoc-repro-issue-fix-cargo-config-for-codegenunits.patch recipes-devtools/rust/rust-source.inc recipes-devtools/rust/rust_1.75.0.bb+28 -00 replies
21/33librsvg: upgrade 2.58.1 -> 2.58.2recipes-gnome/librsvg/librsvg_2.58.2.bb+1 -10 replies
22/33devtool/upgrade: rename RECIPE_UPDATE_EXTRA_TASKS -> RECIPE_UPGRADE_EXTRA_TASKSclasses/cargo-update-recipe-crates.bbclass+1 -10 replies
23/33cargo_common.bbclass: Support git repos with submodulesclasses/cargo_common.bbclass+1 -10 replies
24/33rust: Oe-selftest fixes for rust v1.76recipes-devtools/rust/files/cross-targets-backport.patch recipes-devtools/rust/files/rust-oe-selftest.patch recipes-devtools/rust/rust-source.inc+354 -00 replies
25/33rust: Upgrade 1.75.0->1.76.0conf/layer.conf recipes-devtools/rust/cargo_1.76.0.bb recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch +12 more+58 -17020 replies
26/33rust: reproducibility issue fix with v1.76recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch recipes-devtools/rust/rust-source.inc+60 -00 replies
27/33rust: Oe-selftest changes for rust v1.77recipes-devtools/rust/files/deadcode-backport.patch recipes-devtools/rust/files/rust-oe-selftest.patch recipes-devtools/rust/rust-source.inc+54 -30 replies
28/33rust: Upgrade 1.76.0->1.77.0conf/layer.conf recipes-devtools/rust/cargo_1.77.0.bb recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch +9 more+68 -1180 replies
29/33rust: Upgrade 1.77.0->1.77.1recipes-devtools/rust/cargo_1.77.1.bb recipes-devtools/rust/libstd-rs_1.77.1.bb recipes-devtools/rust/rust-cross-canadian_1.77.1.bb +3 more+1 -10 replies
30/33rust: Upgrade 1.77.1->1.77.2recipes-devtools/rust/cargo_1.77.2.bb recipes-devtools/rust/libstd-rs_1.77.2.bb recipes-devtools/rust/rust-cross-canadian_1.77.2.bb +3 more+1 -10 replies
31/33rust: Oe-selftest changes for rust v1.78recipes-devtools/rust/files/rust-oe-selftest.patch+62 -20 replies
32/33rust: Upgrade 1.77.2->1.78.0conf/layer.conf recipes-devtools/rust/cargo_1.78.0.bb recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch +14 more+203 -2960 replies
33/33Rework and update READMEREADME README.md+88 -400 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/33] Update to Rust 1.78.0

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
Signature · 1 line
2.46.0