July 25th, 2024

Rust Is Ready with Robust Toolchain Handling for Linux 6.11

Miguel Ojeda's Rust pull request for Linux 6.11 sets a minimum Rust toolchain version, enhancing kernel integration and stability. It includes build-testing and Rust bindings for firmware APIs, aiding driver development.

Read original articleLink Icon
Rust Is Ready with Robust Toolchain Handling for Linux 6.11

Miguel Ojeda has submitted a significant Rust pull request for the upcoming Linux 6.11 release, marking a key development in integrating the Rust programming language into the Linux kernel. This update establishes a minimum Rust toolchain version, which will streamline the process of building Rust kernel code across various Linux distributions without the need for constant updates to the Rust compiler. The initial minimum version includes three stable Rust releases: 1.78.0, 1.79.0, and 1.80.0, along with beta and nightly versions. This change is expected to benefit developers using distributions that regularly provide updated Rust compiler versions, such as Arch Linux, Fedora, and Gentoo.

Additionally, the kernel will now undergo build-testing with Rust's pre-merge continuous integration (CI) system, ensuring that any changes to the Rust compiler do not inadvertently break kernel functionality. The Rust project aims to achieve stable Rust kernel integration as one of its primary goals for the second half of 2024. Alongside these developments, the driver core updates for Linux 6.11 include Rust bindings for basic firmware APIs, facilitating the creation of more effective Rust kernel drivers. Overall, these enhancements reflect a concerted effort to improve Rust's role within the Linux kernel ecosystem, promoting stability and usability for developers.

Related

The Linux Kernel Matures to Having a Minimum Rust Toolchain Version

The Linux Kernel Matures to Having a Minimum Rust Toolchain Version

The Linux kernel is advancing to support multiple Rust compiler versions, starting with 1.78.0 and adding 1.79.0. This progress aims to stabilize Rust for Linux, enhancing driver and kernel code development efficiency.

Improving 64-bit RISC-V Linux support in Rust

Improving 64-bit RISC-V Linux support in Rust

Ferrous Systems and Codethink collaborate to boost 64-bit RISC-V Linux support in Rust to Tier 1 via the RISE Project. This effort aims to enhance Rust's functionality for diverse platforms, focusing on RISC-V's open instruction set architecture.

Microsoft updates the Linux kernel in WSL

Microsoft updates the Linux kernel in WSL

Microsoft updates WSL's Linux kernel to version 6.6 after 2.5 years, reducing out-of-tree patches. Available on GitHub, it brings new configs and stable kernel updates, with full integration expected soon.

Linux 6.10 Released

Linux 6.10 Released

The Linux 6.10 release by Linus Torvalds featured increased activity in filesystems, driver updates, and miscellaneous changes. No extra release candidates were needed. Version 6.11's merge window will open soon, coinciding with Europe's summer vacation. Various subsystems received fixes and improvements, including ARM64, USB, networking, SPI, MMC, USB, ALSA, and more. The bcachefs filesystem underwent corrections and optimizations.

Rust for Filesystems

Rust for Filesystems

At the 2024 Linux Summit, Wedson Almeida Filho and Kent Overstreet explored Rust for Linux filesystems. Rust's safety features offer benefits for kernel development, despite concerns about compatibility and adoption challenges.

Link Icon 1 comments