Re: [OE-core] mickledore - adding rust tooling to sdk seems to create problematic rustc/cargo executable configurations

2023-09-13 Thread Alexander Kanavin
Can you try this in a plain poky checkout (to the same revision as in your setup) with no other layers? Machine qemuarm, image core-image-minimal. If it works, you have a reference point to compare with and untangle where the breaking difference is. If it doesn't work, then I or someone else have a

Re: [OE-core] mickledore - adding rust tooling to sdk seems to create problematic rustc/cargo executable configurations

2023-09-12 Thread Danny Hadley
Hi Alex! Thanks for the quick response. I tried removing my `TOOLCHAIN_HOST_TASK` assignment and adding the `SDK_TOOLCHAIN_LANGS` entry but I'm still seeing the error. fwiw the output from `cargo build --verbose` shows me the `rustc` calls: ``` rustc --crate-name omg --edition=2021 src/main.rs --

Re: [OE-core] mickledore - adding rust tooling to sdk seems to create problematic rustc/cargo executable configurations

2023-09-12 Thread Alexander Kanavin
On Tue, 12 Sept 2023 at 19:26, Danny Hadley wrote: > I can provide as much additional information as needed! I think you need to set SDK_TOOLCHAIN_LANGS = "rust" and then things should just work. Alex -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

[OE-core] mickledore - adding rust tooling to sdk seems to create problematic rustc/cargo executable configurations

2023-09-12 Thread Danny Hadley
Hey all! I am working on rust project targeting the STM32MPU, (specifically the stm32MP135F-DK). ST has provided two layers for supporting os development on yocto: their distro: https://github.com/STMicroelectronics/meta-st-openstlinux their BSP: https://github.com/STMicroelectronics/meta-st-stm3