11 ms·
just wondering, does this mean a Rust build pipeline is officially part of the mainline Linux build pipeline? Since (as far as I know) the GPU drivers for the
by 2bitencryption 4y ago
just wondering, does this mean a Rust build pipeline is officially part of the mainline Linux build pipeline? Since (as far as I know) the GPU drivers for the M1 are written in Rust by Asahi Lina?
- pantalaimon 4y agoThis is only initial bringup, the GPU driver is not mainline yet. (And it's UAPI is going to change to properly support Vulkan)
- nicoburns 4y agoI believe the GPU driver isn’t included yet, but separately from that, the first Rust For Linux patches have indeed been merged into mainline linux. The support is being merged gradually over time though, so there’s still a lot that hasn’t been upstreamed yet.
- CuriousCosmic 4y agoIt appears so. It exists and is in tree but it's probably going to stay "optional features only" for the foreseeable future since rust can't currently target all platforms that the kernel supports. 1. https://docs.kernel.org/rust/index.html https://docs.kernel.org/rust/index.html 2. https://github.com/torvalds/linux/tree/v6.2/rust https://github.com/torvalds/linux/tree/v6.2/rust
- rnestler 4y agoThe build pipeline was already part of Linux 6.1. I played around with it on ArchLinux with the target to compile an out of tree hello world kernel module in Rust: * https://blog.rnstlr.ch/building-an-out-of-tree-rust-kernel-module.html https://blog.rnstlr.ch/building-an-out-of-tree-rust-kernel-m... * https://blog.rnstlr.ch/building-an-out-of-tree-rust-kernel-module-part-two.html https://blog.rnstlr.ch/building-an-out-of-tree-rust-kernel-m... I'll probably make a follow up post with Linux 6.2