Hello all! I am working on integrating my application CI pipeline with the SDK generated by our yocto CI pipeline. So far, I have been able to build an SDK with cargo included by adding the following `TOOLCHAIN_HOST_TASK` assignment to our local.conf:
``` TOOLCHAIN_HOST_TASK:append = " nativesdk-cargo" ``` and building the SDK via ``` bitbake -k -c populate_sdk <our image name> ``` However, when our application CI picks up the SDK, it looks like it is missing the underlying `rustc` executable; a `cargo build` command fails with: ``` error: could not execute process `rustc -vV` (never executed) ``` I've manually sourced the SDK environment in a shell and confirmed that `which` does pick up cargo but not `rustc`: ``` $ which cargo /<SDK installation path>/.sdk/sysroots/x86_64-pokysdk-linux/usr/bin/cargo $ which rustc $ ``` Has anyone been able to populate the SDK on kirkstone with a working rustc/cargo toolchain? I've also tried comparing langdale and kirkstone; it looks like on langdale some work was done to add `nativesdk` support to the rust recipe itself (via BBCLASSEXTEND in rust-target.inc). I've been trying to mirror those changes via `.bbappend` files but haven't quite figured out what strings to pull. I'd be happy to provide any additional information that'd help triage. Thanks! - Danny
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59310): https://lists.yoctoproject.org/g/yocto/message/59310 Mute This Topic: https://lists.yoctoproject.org/mt/97270242/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
