Hi,

I'm running a Poky Middledore for the raspberrypi4-64 machine from
meta-raspberry. I can successfully build a rust hello-world example
within the image build.

I added

TOOLCHAIN_HOST_TASK:append = "\
        nativesdk-rust \
        nativesdk-cargo \
        nativesdk-libstd-rs \
        nativesdk-rust-llvm \
        "

to my image and that gets me rustc and cargo superficially working, as
in they are part of the SDK. But attempting to use them fails with

11:36 $ /../sdk/sysroots/x86_64-pokysdk-linux/usr/bin/rustc --print
target-list
error: Error loading target specification: Could not find specification
for target "x86_64-pokysdk-linux-gnu". Run `rustc --print target-list`
for a list of built-in targets

Any pointers are welcome,

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

Reply via email to