I would like to determine what things in my kirkstone yocto distribution are dependent on rust. I am curious because building rust llvm and rust native packages take significant amount of time. Would love to eliminate these things if they are not necessary to speed up build time. And when I say "things" I mean (but not restricted to) user space applications as well as parts of the kernel such as device drivers.
How can I accomplish this?
It's almost definitely librsvg (a dependency of GTK) or python3-cryptography.
The easy/hacky way is to set
SKIP_RECIPE[rust-native] = "skip"and build your image, this will list what can't be built anymore.A better way is to dump the task dependencies as a graph to disk:
Then you
oe-depends-dotto analyse the graph:The common recipe here is librsvg, which is provides SVG rendering for GTK and GStreamer, and is written in Rust.
A proper sstate solution will mean you only need to build rust once if you're on a stable release.