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 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 (10):
  oeqa/runtime/rust: Add basic compile/run test
  libstd-rs: Merge .inc into .bb
  libstd-rs: Move source directory to library/test
  rust-llvm: Merge .inc into .bb
  rust-llvm: Update LLVM_VERSION to match embedded version
  cargo: Merge .inc into .bb
  cargo: Extend DEBUG_PREFIX_MAP to cover vendor
  packagegroup-rust-sdk-target: Add Rust SDK target packagegroup
  packagegroup-core-sdk: Add SDK toolchain language selection support
  oeqa/runtime/rust: Add cargo test

 meta/lib/oeqa/files/test.rs                   |  2 +
 meta/lib/oeqa/runtime/cases/rust.py           | 41 ++++++++++
 .../packagegroups/packagegroup-core-sdk.bb    | 10 ++-
 .../packagegroup-rust-sdk-target.bb           | 14 ++++
 meta/recipes-devtools/cargo/cargo.inc         | 69 ----------------
 meta/recipes-devtools/cargo/cargo_1.66.0.bb   | 73 ++++++++++++++++-
 meta/recipes-devtools/rust/libstd-rs.inc      | 40 ---------
 .../recipes-devtools/rust/libstd-rs_1.66.0.bb | 46 ++++++++++-
 meta/recipes-devtools/rust/rust-llvm.inc      | 78 ------------------
 .../recipes-devtools/rust/rust-llvm_1.66.0.bb | 82 ++++++++++++++++++-
 10 files changed, 260 insertions(+), 195 deletions(-)
 create mode 100644 meta/lib/oeqa/files/test.rs
 create mode 100644 
meta/recipes-core/packagegroups/packagegroup-rust-sdk-target.bb
 delete mode 100644 meta/recipes-devtools/cargo/cargo.inc
 delete mode 100644 meta/recipes-devtools/rust/libstd-rs.inc
 delete mode 100644 meta/recipes-devtools/rust/rust-llvm.inc

-- 
2.39.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#174906): 
https://lists.openembedded.org/g/openembedded-core/message/174906
Mute This Topic: https://lists.openembedded.org/mt/95805431/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to