More Rust Code Readied For Linux 6.3 - Closer To Having Rust Drivers Upstreamed

There still is another week to go until the Linux 6.2 stable release and in turn the start of the Linux 6.3 merge window. Rust for Linux maintainer Miguel Ojeda is ready though with the v6.3 updates and submitted them as an early pull request for this next kernel version.
In the pull request Miguel Ojeda commented, "more core additions, getting closer to a point where the first Rust modules can be upstreamed."
The Rust code with Linux 6.3 includes new Arc, ArcBorrow, and UniqueArc types. There is also new ForeignOwnable and ScopeGuard types, a rework of the "alloc" crate to remove the borrow module, and other changes. It's just more low-level changes to ready the Rust infrastructure in the kernel for actual developer use.
We'll see if the first Rust modules/drivers end up being ready for the Linux 6.4 kernel cycle in the spring.
126 Comments