Install complete Rust and toolchans for image? #rust #yocto #sdk
Hi,
What recipes should I use in IMAGE_INSTALL to install all of Rust and toolchains things for it on my target ARM board? What Yocto release was started to support Rust? Is ti possbile a make an SDK image with a Rust cross compiler like it is possible with GCC via mingw for Windows 10?
Quoted 1 line · Livius via lists.yoctoproject.org
Hi,
Hi,
I'm a bit late but here is some of what you were looking for:
Quoted 2 lines
What recipes should I use in
IMAGE_INSTALLto install all of Rust
https://git.openembedded.org/openembedded-core/commit/?id=bb781f452299cfa6ec7fffd215b0af3149178f32
Quoted 1 line
and toolchains things for it on my target ARM board?
That's not a very specific question but there is:
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
Rust is not in that list yet and I suspect most people are not ready to add it either. Once (if?) the kernel requires Rust, then we'll cha
Quoted 1 line
What Yocto release was started to support Rust?
Started in honister:
❯ git log --reverse --oneline --grep rust: | head -1 61e1570c6a rust: initial merge of most of meta-rust
poky.git on master-next [$]
❯ git branch -a --contains 61e1570c6a
honister
kirkstone
kirkstone-next
langdale
master
* master-next
mickledore
but there were significant improvements in Aug 2022 and later, specifically the ability to put the rust toolchain on the target MACHINE.
Quoted 1 line
Is ti possbile a make an SDK image with a Rust cross compiler like it is possible with GCC via mingw for Windows 10?
Likely but I'm not aware of anyone having done that.
Please let us know if you try it and if it works. If it's important to you, a test case might be useful.
../Randy
Quoted 12 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59825):https://lists.yoctoproject.org/g/yocto/message/59825 Mute This Topic:https://lists.yoctoproject.org/mt/98604334/3616765
Mute #rust:https://lists.yoctoproject.org/g/yocto/mutehashtag/rust
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Mute #sdk:https://lists.yoctoproject.org/g/yocto/mutehashtag/sdk
Group Owner:[email protected] Unsubscribe:https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
# Randy MacLeod # Wind River Linux