Populate kirkstone/rust branch (cover letter only)
cover Populate kirkstone/rust branch (cover letter only)
As discussed on the last couple of YP technical calls, I have created a kirkstone/rust branch in meta-lts-mixins. It backports the state of Rust support in master to kirkstone (so currently 1.74.1) the same way that the previous kirkstone/rust-1.68 and kirkstone/rust-1.70 branches did against mickledore and nanbield. The aim with kirkstone/rust is to keep it up to date with the level of Rust support in master until the Kirkstone EOL in April 2026.
The majority of the patches listed below were manually picked from master and adapted on top of the kirkstone/rust-1.70 branch to create this new branch. If you would like to look at the changes in detail, they are browsable at:
https://git.yoctoproject.org/meta-lts-mixins/log/?h=kirkstone/rust
Changes:
Alex Kiernan (14):
rust: Delete python2 configparser code path
rust: Drop TARGET_VENDOR export
rust: Drop targets and hosts override magic
cargo: Rename MANIFEST_PATH -> CARGO_MANIFEST_PATH
cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR to cargo_common
rust: cargo: Convert single-valued variables to weak defaults
cargo: Add CARGO_LOCK_PATH for path to Cargo.lock
rust: Upgrade 1.70.0 -> 1.71.0
rust: Upgrade 1.71.0 -> 1.71.1
rust: Upgrade 1.71.1 -> 1.72.0
rust: Upgrade 1.72.0 -> 1.72.1
rust: Upgrade 1.72.1 -> 1.73.0
rust: Upgrade 1.73.0 -> 1.74.0
rust: Upgrade 1.74.0 -> 1.74.1
Khem Raj (4):
rust-cross-canadian: Add riscv64 to cross-canadian hosts
librsvg: Fix build for riscv32
librsvg: Enable 64bit atomics in crossbeam again for riscv32 rust-common.bbclass: Define rust arch for x32 platforms
Martin Jansa (1):
rust: drop PE, PR from /usr/src/debug paths
Niko Mauno (1):
rust-llvm: Allow overriding LLVM target archs
Ross Burton (1):
rust-llvm: remove python3native dependency
Scott Murray (1):
Update README
Sean Nyekjaer (2):
rust-cross-canadian: set CARGO_TARGET_<triple>_RUSTFLAGS
rust-cross-canadian: set CARGO_TARGET_<triple>_RUNNER for nativesdk
Sundeep KOKKONDA (2):
rust: Split rustdoc into a separate package
rust: rustdoc reproducibility issue fix - disable PGO
Yash Shinde (3):
oeqa/selftest: Add rust selftests
rust: Fix BOOTSTRAP_CARGO failure during Rust Oe-selftest oeqa/selftest/rust: Add failed test cases to exclude list for Rust
Oe-selftest
README | 30 +-
classes/cargo.bbclass | 9 +-
classes/cargo_common.bbclass | 19 +-
classes/rust-common.bbclass | 8 +-
conf/layer.conf | 2 +-
meta/lib/oeqa/selftest/cases/rust.py | 85 +
.../rust/{cargo_1.70.0.bb => cargo_1.74.1.bb} | 2 +-
...-Do-not-use-LFS64-on-linux-with-musl.patch | 164 --
...0001-Don-t-use-LFS64-symbols-on-musl.patch | 163 ++
...e-absolute-paths-to-OUT_DIR-as-relat.patch | 67 +
...Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch | 122 ++
...efine-SOCK_SEQPACKET-in-common-place.patch | 114 --
...ine-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch | 41 +
...GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch | 205 +++
...-musl-Define-O_LARGEFILE-for-riscv32.patch | 32 +
...efine-SOCK_SEQPACKET-in-common-place.patch | 115 ++
.../rust/files/getrandom-open64.patch | 46 -
.../rust/files/hardcodepaths.patch | 14 +-
.../rust/files/zlib-off64_t.patch | 17 +-
...ibstd-rs_1.70.0.bb => libstd-rs_1.74.1.bb} | 9 +-
recipes-devtools/rust/rust-cross-canadian.inc | 7 +-
....70.0.bb => rust-cross-canadian_1.74.1.bb} | 0
...ust-llvm_1.70.0.bb => rust-llvm_1.74.1.bb} | 15 +-
recipes-devtools/rust/rust-snapshot.inc | 64 +-
recipes-devtools/rust/rust-source.inc | 15 +-
.../rust/{rust_1.70.0.bb => rust_1.74.1.bb} | 27 +-
.../librsvg/0001-Add-riscv32-support.patch | 1511 +++++++++++++++++
recipes-gnome/librsvg/librsvg_2.56.3.bb | 2 +-
28 files changed, 2480 insertions(+), 425 deletions(-)
create mode 100644 meta/lib/oeqa/selftest/cases/rust.py
rename recipes-devtools/rust/{cargo_1.70.0.bb => cargo_1.74.1.bb} (96%)
delete mode 100644 recipes-devtools/rust/files/0001-Do-not-use-LFS64-on-linux-with-musl.patch
create mode 100644 recipes-devtools/rust/files/0001-Don-t-use-LFS64-symbols-on-musl.patch
create 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-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch
delete mode 100644 recipes-devtools/rust/files/0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch
create mode 100644 recipes-devtools/rust/files/0002-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch
create mode 100644 recipes-devtools/rust/files/0003-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch
create mode 100644 recipes-devtools/rust/files/0004-musl-Define-O_LARGEFILE-for-riscv32.patch
create mode 100644 recipes-devtools/rust/files/0005-musl-Define-SOCK_SEQPACKET-in-common-place.patch
delete mode 100644 recipes-devtools/rust/files/getrandom-open64.patch
rename recipes-devtools/rust/{libstd-rs_1.70.0.bb => libstd-rs_1.74.1.bb} (87%)
rename recipes-devtools/rust/{rust-cross-canadian_1.70.0.bb => rust-cross-canadian_1.74.1.bb} (100%)
rename recipes-devtools/rust/{rust-llvm_1.70.0.bb => rust-llvm_1.74.1.bb} (89%)
rename recipes-devtools/rust/{rust_1.70.0.bb => rust_1.74.1.bb} (94%)
create mode 100644 recipes-gnome/librsvg/librsvg/0001-Add-riscv32-support.patchSignature · 1 line
2.43.0
Scott Murray <[email protected]> escreveu (quinta, 25/01/2024 à(s) 00:20):
Quoted 8 lines
As discussed on the last couple of YP technical calls, I have created a kirkstone/rust branch in meta-lts-mixins. It backports the state of Rust support in master to kirkstone (so currently 1.74.1) the same way that the previous kirkstone/rust-1.68 and kirkstone/rust-1.70 branches did against mickledore and nanbield. The aim with kirkstone/rust is to keep it up to date with the level of Rust support in master until the Kirkstone EOL in April 2026.
Hi Scott,
Thanks for taking care and doing this huge update. Much appreciated.
Jose
Quoted 133 lines
The majority of the patches listed below were manually picked from master and adapted on top of the kirkstone/rust-1.70 branch to create this new branch. If you would like to look at the changes in detail, they are browsable at:
https://git.yoctoproject.org/meta-lts-mixins/log/?h=kirkstone/rust
Changes:
Alex Kiernan (14):
rust: Delete python2 configparser code path
rust: DropTARGET_VENDORexport
rust: Drop targets and hosts override magic
cargo: RenameMANIFEST_PATH->CARGO_MANIFEST_PATH
cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR tocargo_common
rust: cargo: Convert single-valued variables to weak defaults
cargo: AddCARGO_LOCK_PATHfor path to Cargo.lock
rust: Upgrade 1.70.0 -> 1.71.0
rust: Upgrade 1.71.0 -> 1.71.1
rust: Upgrade 1.71.1 -> 1.72.0
rust: Upgrade 1.72.0 -> 1.72.1
rust: Upgrade 1.72.1 -> 1.73.0
rust: Upgrade 1.73.0 -> 1.74.0
rust: Upgrade 1.74.0 -> 1.74.1Khem Raj (4):
rust-cross-canadian: Add riscv64 to cross-canadian hosts
librsvg: Fix build for riscv32
librsvg: Enable 64bit atomics in crossbeam again for riscv32 rust-common.bbclass: Define rust arch for x32 platformsMartin Jansa (1):
rust: drop PE, PR from/usr/src/debugpathsNiko Mauno (1):
rust-llvm: Allow overriding LLVM target archsRoss Burton (1):
rust-llvm: remove python3native dependencyScott Murray (1):
Update READMESean Nyekjaer (2):
rust-cross-canadian: set CARGO_TARGET_<triple>_RUSTFLAGS
rust-cross-canadian: set CARGO_TARGET_<triple>_RUNNER for nativesdkSundeep KOKKONDA (2):
rust: Split rustdoc into a separate package
rust: rustdoc reproducibility issue fix - disable PGOYash Shinde (3):
oeqa/selftest: Add rust selftests
rust: FixBOOTSTRAP_CARGOfailure during Rust Oe-selftest oeqa/selftest/rust: Add failed test cases to exclude list for Rust
Oe-selftestREADME | 30 +- classes/cargo.bbclass | 9 +- classes/cargo_common.bbclass | 19 +- classes/rust-common.bbclass | 8 +- conf/layer.conf | 2 +- meta/lib/oeqa/selftest/cases/rust.py | 85 + .../rust/{cargo_1.70.0.bb => cargo_1.74.1.bb} | 2 +- ...-Do-not-use-LFS64-on-linux-with-musl.patch | 164 -- ...0001-Don-t-use-LFS64-symbols-on-musl.patch | 163 ++ ...e-absolute-paths-to-OUT_DIR-as-relat.patch | 67 + ...Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch | 122 ++ ...efine-SOCK_SEQPACKET-in-common-place.patch | 114 -- ...ine-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch | 41 + ...GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch | 205 +++ ...-musl-Define-O_LARGEFILE-for-riscv32.patch | 32 + ...efine-SOCK_SEQPACKET-in-common-place.patch | 115 ++ .../rust/files/getrandom-open64.patch | 46 - .../rust/files/hardcodepaths.patch | 14 +- .../rust/files/zlib-off64_t.patch | 17 +- ...ibstd-rs_1.70.0.bb => libstd-rs_1.74.1.bb} | 9 +- recipes-devtools/rust/rust-cross-canadian.inc | 7 +- ....70.0.bb => rust-cross-canadian_1.74.1.bb} | 0 ...ust-llvm_1.70.0.bb => rust-llvm_1.74.1.bb} | 15 +- recipes-devtools/rust/rust-snapshot.inc | 64 +- recipes-devtools/rust/rust-source.inc | 15 +- .../rust/{rust_1.70.0.bb => rust_1.74.1.bb} | 27 +- .../librsvg/0001-Add-riscv32-support.patch | 1511 +++++++++++++++++ recipes-gnome/librsvg/librsvg_2.56.3.bb | 2 +- 28 files changed, 2480 insertions(+), 425 deletions(-) create mode 100644 meta/lib/oeqa/selftest/cases/rust.py rename recipes-devtools/rust/{cargo_1.70.0.bb => cargo_1.74.1.bb} (96%) delete mode 100644 recipes-devtools/rust/files/0001-Do-not-use-LFS64-on-linux-with-musl.patch create mode 100644 recipes-devtools/rust/files/0001-Don-t-use-LFS64-symbols-on-musl.patch create 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-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch delete mode 100644 recipes-devtools/rust/files/0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch create mode 100644 recipes-devtools/rust/files/0002-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch create mode 100644 recipes-devtools/rust/files/0003-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch create mode 100644 recipes-devtools/rust/files/0004-musl-Define-O_LARGEFILE-for-riscv32.patch create mode 100644 recipes-devtools/rust/files/0005-musl-Define-SOCK_SEQPACKET-in-common-place.patch delete mode 100644 recipes-devtools/rust/files/getrandom-open64.patch rename recipes-devtools/rust/{libstd-rs_1.70.0.bb => libstd-rs_1.74.1.bb} (87%) rename recipes-devtools/rust/{rust-cross-canadian_1.70.0.bb => rust-cross-canadian_1.74.1.bb} (100%) rename recipes-devtools/rust/{rust-llvm_1.70.0.bb => rust-llvm_1.74.1.bb} (89%) rename recipes-devtools/rust/{rust_1.70.0.bb => rust_1.74.1.bb} (94%) create mode 100644
recipes-gnome/librsvg/librsvg/0001-Add-riscv32-support.patch--
2.43.0-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#62278):
https://lists.yoctoproject.org/g/yocto/message/62278
Mute This Topic: https://lists.yoctoproject.org/mt/103944524/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Best regards, José Quaresma