3 ms·
Historically, the answer to that was "yeah totally." But folks have put a lot of work into getting clang to build the kernel, and IIRC Google has been building
by steveklabnik 4y ago
Historically, the answer to that was "yeah totally." But folks have put a lot of work into getting clang to build the kernel, and IIRC Google has been building their Android kernels with clang for a few years now.
~~It's not~~ (see below) It wasn't supported directly by upstream, and in fact historically was pretty much the opposite: the intention was to not care about portability between compilers at all.
- jyxent 4y agoI think it is fully supported now: https://docs.kernel.org/kbuild/llvm.html https://docs.kernel.org/kbuild/llvm.html
- steveklabnik 4y agoThank you! That's more than I knew of. (I do think that what "support" means is kind of amusing, I would also say that this counts as support, but above you have people arguing that only Rust's Tier 1 support is called "support"...)