So in principle Linux needs to build fully:
1. In GCC
2. In LLVM
This because there is need to be agile and robust with toolchains and it is higher priority than language support.
And the existing problem with Rust is that a kernel compiles either with:
1. In GCC + LLVM
2. In LLVM
This blocks Rust features from defconfigs, which simply mean that they cannot turned by default on.
Fixing this problem is more important than fixing any other possible problem with Rust because it is environmental constraint.
This is exactly why gccrs is important and it is good to see substantial progress being made:
https://lwn.net/Articles/991199/The progress in gccrs factor over any Rust code in kernel in my opinion because it enables the *production value* for it.
PS. Just wanted to point out the actual issue because I did not spot anything at all from Plumbers :-) Weird because this is something that actually matters, not the stuff how people feel about programming language X.
#rust #rustlang #linux #kernel