Basic Rust Support Merged For Upcoming Linux 6.1
"This Monday, the first set of patches to enable Rust support and tooling was merged for Linux 6.1," writes Slashdot reader sabian2008, sharing an update from longtime kernel developer Kees Cook: The tree has a recent base, but has fundamentally been in linux-next for a year and a half. It's been updated based on feedback from the Kernel Maintainer's Summit, and to gain recent Reviewed-by: tags. Miguel is the primary maintainer, with me helping where needed/wanted. Our plan is for the tree to switch to the standard non-rebasingpractice once this initial infrastructure series lands. The contents are the absolute minimum to get Rust code building in thekernel, with many more interfaces[2] (and drivers -- NVMe[3], 9p[4], M1 GPU[5]) on the way. The initial support of Rust-for-Linux comes in roughly 4 areas:- Kernel internals (kallsyms expansion for Rust symbols, %pA format)- Kbuild infrastructure (Rust build rules and support scripts)- Rust crates and bindings for initial minimum viable build- Rust kernel documentation and samples Further reading: Linux 6.0 Arrives With Support For Newer Chips, Core Fixes, and Oddities
Read more of this story at Slashdot.