Rust’s Experimental Phase Officially Ends with Linux Kernel 7.0, Securing Its Permanent Integration
The upcoming Linux Kernel 7.0 marks a significant milestone: the official end of the experimental evaluation for the Rust programming language. By merging documentation update patches, the development community has declared that Rust has successfully proven its suitability and will become a permanent part of kernel development. This change signifies official recognition of Rust’s stable application at the core layer of the operating system.
The Journey of Rust’s Integration into the Linux Kernel
Support for the Rust language was first merged into Linux Kernel 6.1 as an experimental feature to assess its technical feasibility, viability, and community acceptance in kernel development. Spearheaded by developers like Miguel Ojeda, the project gradually introduced Rust abstraction layers and related infrastructure. After years of development and practical testing, Rust code is now running in production environments, including certain Linux distributions and millions of devices on Android systems.
Key Decisions and Patches Concluding the Experiment
Following the 2025 Linux Kernel Maintainers’ Summit, the community reached a consensus that the Rust experiment was a success. During the Linux 7.0 development cycle, Miguel Ojeda, the lead for the Rust for Linux project, submitted patches to remove descriptions of “Rust support is experimental” from the kernel documentation. These patches explicitly state that the experiment has concluded and Rust is here to stay. The patches also include optimizations for Rust-based kernel builds, such as improved annotations to support LTO inlining.
Rust’s Technical Advantages and Security Contributions
Compared to traditional kernel development, which primarily uses the C language, Rust prevents common memory safety errors at compile time through its borrow checker and ownership system. These types of errors have long been a primary source of critical kernel vulnerabilities. The introduction of Rust helps enhance the overall stability of the kernel without forcing a rewrite of the existing millions of lines of C code. Instead, it is prioritized for the development of new modules and drivers.
Current Adoption and Community Impact
Currently, the application of Rust in the kernel has moved beyond the experimental stage, gaining support for practical deployment from multiple companies and distributions. This change is expected to encourage more kernel developers to learn Rust and attract increased corporate investment in related areas. Linux kernel maintainers have shown a positive attitude towards this transition, signaling a major evolution in the kernel’s development language ecosystem.