Add rust runtime tests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest12 patches 0 repliesNew
- v411 patches 6 repliesSuperseded
- v310 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 10 patches | 5 replies | Superseded | |
| v1 | 11 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
- Switch from cargo patching to bitbake patching (https://github.com/rust-lang/rust/issues/98185)
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | rust-llvm: Merge .inc into .bbmeta/ meta/ | +79 | 0 replies | |
| 2/12 | rust-llvm: Update LLVM_VERSION to match embedded versionmeta/ | +1 | 0 replies | |
| 3/12 | packagegroup-rust-sdk-target: Add Rust SDK target packagegroupmeta/ | +13 | 0 replies | |
| 4/12 | packagegroup-core-sdk: Add SDK toolchain language selection supportmeta/ | +9 | 0 replies | |
| 5/12 | rust: Merge .inc into .bbmeta/ meta/ meta/ | +217 | 0 replies | |
| 6/12 | rust: Move musl-x86 fix for `__stack_chk_fail_local` to rust-sourcemeta/ meta/ | +5 | 0 replies | |
| 7/12 | cargo: Merge .inc into .bbmeta/ meta/ | +69 | 0 replies | |
| 8/12 | cargo: Extend DEBUG_PREFIX_MAP to cover vendormeta/ | +2 | 0 replies | |
| 9/12 | cargo: Include crossbeam-utils patchmeta/ meta/ | +7 | 0 replies | |
| 10/12 | cargo: Drop exclude from worldmeta/ | +0 | 0 replies | |
| 11/12 | packagegroup-rust-sdk-target: Add cargometa/ | +1 | 0 replies | |
| 12/12 | oeqa/runtime/rust: Add cargo testmeta/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [OE-Core][PATCH v5 00/12] Add rust runtime tests
This series adds runtime tests for rust and cargo, merges (most of) the include files into the base recipes and fixes target cargo builds.
Also add SDK_TOOLCHAIN_LANGS for selection of target toolchains as part of packagegroup-core-sdk.
Changes in v5:
- Switch from cargo patching to bitbake patching (https://github.com/rust-lang/rust/issues/98185)
Changes in v4:
- Fixup __stack_chk_fail_local in musl-x86
- Add crossbeam atomics fixes for ppc/mips
Changes in v3:
- Switch to packagegroup-core-sdk driven from TARGET_TOOLCHAIN_LANGS (which defaults to SDK_TOOLCHAIN_LANGS)
Changes in v2:
- Drop rust.inc/rust.bb merge, not actually made use of in the change set
- Reorder so cargo test goes after build fixes
Alex Kiernan (12):
rust-llvm: Merge .inc into .bb
rust-llvm: Update LLVM_VERSION to match embedded version packagegroup-rust-sdk-target: Add Rust SDK target packagegroup
packagegroup-core-sdk: Add SDK toolchain language selection support
rust: Merge .inc into .bb
rust: Move musl-x86 fix for __stack_chk_fail_local to rust-source
cargo: Merge .inc into .bb
cargo: Extend DEBUG_PREFIX_MAP to cover vendor
cargo: Include crossbeam-utils patch
cargo: Drop exclude from world packagegroup-rust-sdk-target: Add cargo oeqa/runtime/rust: Add cargo test
meta/lib/oeqa/runtime/cases/rust.py | 17 ++
.../packagegroups/packagegroup-core-sdk.bb | 10 +-
.../packagegroup-rust-sdk-target.bb | 14 ++
meta/recipes-devtools/cargo/cargo_1.66.0.bb | 5 -
.../{cargo/cargo.inc => rust/cargo_1.66.0.bb} | 13 +-
.../{rust => files}/crossbeam_atomic.patch | 0
meta/recipes-devtools/rust/rust-llvm.inc | 78 ------
.../recipes-devtools/rust/rust-llvm_1.66.0.bb | 82 ++++++-
meta/recipes-devtools/rust/rust-source.inc | 5 +
meta/recipes-devtools/rust/rust-target.inc | 10 -
meta/recipes-devtools/rust/rust.inc | 223 ------------------
meta/recipes-devtools/rust/rust_1.66.0.bb | 223 +++++++++++++++++-
12 files changed, 353 insertions(+), 327 deletions(-)
create mode 100644 meta/recipes-core/packagegroups/packagegroup-rust-sdk-target.bb
delete mode 100644 meta/recipes-devtools/cargo/cargo_1.66.0.bb
rename meta/recipes-devtools/{cargo/cargo.inc => rust/cargo_1.66.0.bb} (88%)
rename meta/recipes-devtools/rust/{rust => files}/crossbeam_atomic.patch (100%)
delete mode 100644 meta/recipes-devtools/rust/rust-llvm.inc
delete mode 100644 meta/recipes-devtools/rust/rust-target.inc
delete mode 100644 meta/recipes-devtools/rust/rust.incSignature · 1 line
2.39.0