I can see why people would be opposed to that.
I'm thinking about LLVM (and, obviously, rustc)
I can see why people would be opposed to that.
I'm thinking about LLVM (and, obviously, rustc)
That said, it would certainly be uncomfortable to move from "it compiles with Clang, though it's a pain, or GCC, which works fine" to "it compiles with GCC, if you don't use any of this functionality, or LLVM only, if you want any of these features or anything that depends on them".
So, we're currently expecting that supporting Rust will not place any requirements on the C compiler you use, unless you want to use cross-language LTO (which we'll eventually want to do, but it won't be a hard requirement for a working kernel).
Does Linux even work with LTO right now? It seems to do a lot of weird-linking-magic things that I wouldn't expect to work well with LTO.
https://linuxplumbersconf.org/event/7/contributions/798/ (slide link at the bottom)
Like GCC?
Your point is certainly valid, but I'm not sure it's a new problem.
It's not fully complete. But there is no reason why it couldn't be.