PROGRAMMING
Last week was the main feature pull of Rust programming language updates for the Linux 7.0 kernel merge window. Most notable with that pull was Rust officially concluding its “experimental” in now treating Rust for Linux kernel/driver programming as stable and here to stay. Sent out today was a round of Rust fixes for Linux 7.0 that includes preparations for the upcoming Rust 1.95 release.

Rust 1.95 is being branched from master on 27 February and aiming for its stable release on 16 April. Rust 1.95 stabilizes if let guards, changing some ports to tier 2 status, and various other changes.

For Linux 7.0 they are now passing the “-Zunstable-options” flag that will be required by the Rust 1.95 release. The -Zunstable-options allows for the use of other new, unstable command line options.

For the kernel’s irq module, there is a missing bound detected by the in-development Rust 1.95 code to be addressed. With the pin-init crate was also a Clippy warning that changed behavior with the upcoming Rust 1.95 release.

Meanwhile this round of Rust fixes for Linux 7.0 also fixes an objtool warning when using the older Rust 1.84 release plus a fix to the list module to address missing “unsafe” blocks and placeholder safety comments to macros.

More details on these Rust fixes sent out today for Linux 7.0 to focus on future Rust 1.95 compatibility can be found via this pull request.