On Wed, 2026-01-07 at 13:21 -0500, Randy MacLeod wrote: > > On 2026-01-07 11:34 a.m., Harish Sadineni wrote: > > > On 1/7/2026 12:29 AM, Randy MacLeod wrote:On 2026-01-05 11:24 a.m., > > Harish Sadineni wrote: > > > We don't want the rust recipe to change based on a kernel config > > > unless we *really* have to > > > since that essentially doubles the testing that should be done > > > or leaves a gap in testing of the > > > rust builds. If you do that for the kernel first, then another > > > recipe later, soon you have a maintenance mess. > > > > > > Also if the kernel needs these files, then it's likely that > > > other software will need it as well. > > > You should analyze why the kernel needs these files and why > > > other recipes do not. Perhaps any > > > kernel-like image will have the same requirement. Is there a > > > baremetal image using rust anywhere > > > that you can use to check on that? I looked but all I found was: > > > https://github.com/ahcbb6/baremetal-helloqemu-rust > > > Anyway, let's focus on the linux kernel's requirements for now. > > > > > > > > > So, how many files are needed and how much FS space do they use? > > The file size of the library directory is around 50MB. > > I've been around since the 1990s, 50 MB doesn't seem small to me > > but > let's see what other people think. > > > Also, how may files is that? > > What's the content? ls -lR if the list isn't too long. > > Does the kernel build need each and every file ? How did you check? > Can we automate the generation of the list of required files by > scraping the data from the kernel perhaps? > In the scheme of things, 50MB is not great but probably ok. It will be compressed down for sstate and so on.
It does however need to be in a separate target package, that is important. The win here is that if you change DISTRO_FEATURES, rust/rust-native shouldn't be rebuilding, which is worth a bit of disk usage, IMO at least. Cheers, Richard >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#229028): https://lists.openembedded.org/g/openembedded-core/message/229028 Mute This Topic: https://lists.openembedded.org/mt/116997864/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
