The Linux Kernel Prepares for Rust 1.77 Upgrade

With Linux 6.8, the kernel’s Rust code was updated to Rust 1.75, and new patches are being developed to transition to Rust 1.76 and eventually Rust 1.77. The latest patch series on Saturday focuses on making the kernel’s Rust infrastructure compatible with Rust 1.76. Additionally, Rust 1.77 introduces a stabilized single-field feature called “offset_of” used by the kernel’s Rust code. The upgrade to Rust 1.77 includes a new “–check-cfg” option that the Rust kernel code is expected to transition to in the future. This move follows the Rust for Linux policy of tracking upstream Rust versions until a stable minimum version is declared. The transition to Rust 1.77 is likely happening during the upcoming Linux 6.9 kernel merge window.

https://www.phoronix.com/news/Linux-Kernel-To-Rust-1.77

To top