r/linuxfromscratch • • Feb 11 '26
Linux 7.0 Officially Concluding The Rust Experiment
Now that rust is no longer considered experimental what does this mean long term for LFS? In the immediate future I don't think it will have a huge impact, but over time as rust is used more and more would this mean having to build rust as part of the base system?
My main concern with this is when bootstrapping rustc when I built BLFS it required an internet connection. This just doesn't seem sit right with me, because it would add a lot of packages to the base build.
Even if CONFIG_RUST=n remains possible, does the kernel community realistically expect all major drivers to maintain C alternatives long-term?
3
u/Pc_geekey Feb 14 '26
Oh my god no. We need to do something about it. We should fork the Linux kernel and remove all of the rust code and replace the rust code with HolyC
9
u/Zeckmathederg Feb 11 '26
Another pressing matter is the PEP standard will probably incorporate Rust as a requirement, and Python which employs PEP is needed for the Rustc build system, creating a circular dependency. In other words, LFS will maybe cease to be as simple a book as it has been. libtasn1, NSPR, NSS, p11-kit, make-ca, libunistring, libidn2, libpsl, and cURL must get moved to LFS, LLVM and Rustc must be added, and they maybe will need to be built multiple times. This will increase build times by probably the same amount of time it takes to complete LFS, so the book may become twice as long to get through.
For obvious reasons, this is hell and not many developers care to think about this nor would they want to support LFS as a usecase.
I'm hoping Rust becomes the next Ada so LFS can avoid stuff like that.
Whether the PEP standard proposing mandatory Rust goes through and whether GCC-Rust will be good enough by then, I cannot say. But I'm expecting rough times for the future.
2
u/Agron7000 Feb 12 '26
We have to keep CONFIG_RUST=n because many highly regulated organizations will start treating Linux as tainted.
I believe they're exploring options like NetBSD.
3
u/ContributionLive5784 Feb 11 '26
Hope Rust replaces C completely so that ancient language can die along with C++ aka just fuck up my memory fam
2
u/Ok-Bridge-4553 Feb 11 '26
Don’t care about Rust at all. Maybe someone can develop a make script to remove the Rust from the kernel before building.
1
u/inouthack Feb 11 '26
u/NHolyFenrir expect a lot of churn ahead !
The proponents of fungus have a covert agenda, "once you do as we say, that's exactly how funds and contributor flow will be aligned".
Any smart team or organization will never try to passthrough a very narrow set of choices over and above blockers like export controls, country of origin.
0
u/[deleted] Feb 13 '26
[deleted] — view deleted comment