News: 0001615178

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 7.0 Makes Preparations For Rust 1.95

([Programming] 4 Hours Ago Linux 7.0 + Rust 1.95)


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 [1]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 [2]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 [3]this pull request .



[1] https://www.phoronix.com/news/Linux-7.0-Rust

[2] https://releases.rs/docs/1.95.0/

[3] https://lore.kernel.org/rust-for-linux/20260221203306.133927-1-ojeda@kernel.org/



The carbonyl is polarized,
The delta end is plus.
The nucleophile will thus attack,
The carbon nucleus.
Addition makes an alcohol,
Of types there are but three.
It makes a bond, to correspond,
From C to shining C.
-- Prof. Frank Westheimer, to "America the Beautiful"