4 ms·
Interesting. Isn't it the case that LLVM doesn't support all architectures that Linux does?
by chalst 6y ago
Interesting.
Isn't it the case that LLVM doesn't support all architectures that Linux does?
- saagarjha 6y agoI think this is just for kernel modules that you can choose to compile out.
- geofft 6y agoThat's what I expected too (as one of the people on the thread / one of the authors of the farthest-along set of bindings for modules), but Linus and Greg KH both seem fairly inclined for it to be on by default and used for core code (small bits of core code, in the beginning) and not simply modules. I'm not sure how that's going to play out with architecture support, and that's one of the things I want to get out of the Plumbers session this upcoming week. https://github.com/fishinabarrel/linux-kernel-module-rust/issues/112 https://github.com/fishinabarrel/linux-kernel-module-rust/is... is a chart of Linux architectures and whether Rust and LLVM support them.
- saagarjha 6y agoOh, wow, that would be huge. Not just architecture support, but even having a toolchain on some platforms might be problematic as I can imagine making rustc a requirement to build Linux to be fairly controversial in and of itself. And that architecture list is not looking very good…would be very interested to know what they decide on as well!