Linux 6.14 With Rust: "We Are Almost At The 'Write A Real Driver In Rust' Stage Now"

With the Linux 6.13 kernel, Greg Kroah-Hartman described the level of Rust support as a "tipping point" for Rust drivers with more of the Rust infrastructure having been merged. Now for the Linux 6.14 kernel, Greg describes the state of the Rust driver possibilities as "almost at the "write a real driver in rust" stage now, depending on what you want to do."
As written about last month on Phoronix, as part of today's driver core pull request is a lot of the PCI / platform device driver enablement for Rust code. Greg described the Rust driver core work in the pull request as:
- driver core bindings for PCI, platform, OF, and some i/o functions. We are almost at the "write a real driver in rust" stage now, depending on what you want to do.
- misc device rust bindings and a sample driver to show how to use them
Linus Torvalds merged this code alongside other driver core improvements today for the Linux 6.14 kernel.
We'll see what Linux 6.15 ends up holding in the Rust driver world...
151 Comments