These patches include adding some Rust creation for kernel development, various C language aids, and other integration infrastructure. There are also some initial Rust examples/sample code for in-kernel usage and enabling Rust support for x86/x86_64 kernel builds.
This is a smaller series of Rust patches than before, to make merging upstream easier. Once this work is mainlined, making Rust support more kernel subsystems and earlier Rust drivers can continue to be developed and continue to be mainlined through their process.
Linus Torvalds said he hopes to merge the original Rust code for Linux 6.1 next week or next — depending on how the last days of Linux 6.0 development play out.
Today’s Rust v10 patch also suggests that this may be the last release of these patches, after mostly minimal/trivial changes to previous v9 patches, the devs also say that this v10 is “ready for v6.1″ …most of the code has been in linux-next for a few months now. Especially v9 has been there for 7 weeks”.
Currently Rust support for the Linux kernel is still considered experimental. However, from a code point of view, the support is good enough that kernel developers can start to study Rust’s abstraction of subsystems, write drivers and other modules from now on.
If there aren’t any last-minute surprises, this initial and optional Rust support will debut in Linux 6.1.