Linux 6.9 To Upgrade Rust Toolchain - Making More Features Stable

Written by Michael Larabel in Linux Kernel on 10 March 2024 at 06:46 AM EDT. 25 Comments
LINUX KERNEL
All of the Rust feature patches have already been submitted in a pull request to Linus Torvalds ahead of the upcoming Linux 6.9 merge window.

While Linux 6.8 saw an upgrade to the Rust 1.74.1 toolchain, for Linux 6.9 it's an upgrade to the Rust 1.76 toolchain. The kernel and Rust schedules aligned to upgrade two versions this time around rather than just hitting Rust 1.75. With the upgrade now to Rust 1.76, two more previously unstable features used by the Rust Linux kernel code are no longer unstable: const_maybe_uninit_zeroed and ptr_metadata.

The Rust code for Linux 6.9 also now marks the rustc compiler and other invocations as recursive, which fixes a warning plus prepares for a possible future of leveraging the Make jobserver.

Rust for Linux


There are also various updates to the Rust for Linux kernel and macros crates. Documentation improvements to the Rust for Linux kernel code are also part of this pull request for Linux 6.9. More details via this pull request.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week