The ninth version of patches for the Linux kernel has been proposed, featuring components for developing device drivers in Rust. This new version is a streamlined version of the eighth release published a few days ago. The set significantly reduces size, retaining only the essential minimum necessary for building a kernel module written in Rust.
The minimal patch is expected to simplify the integration of Rust support into the main kernel. After establishing basic support, the plan is to gradually expand the existing functionality by transferring additional changes from the Rust-for-Linux branch.
Compared to the eighth version, the patch size has been reduced from 40,000 to 13,000 lines of code. For example, the ninth version includes only 3% of the code (500 lines) from the 'kernel' crate package and 60% from the alloc library, enabling the creation of basic kernel modules using the Vec type and logging information in the kernel log using the 'pr_info!' macro.
Source: opennet.ru
