1

Recently, Miguel Ojeda, the main developer of the Linux kernel and Rust on Linux, submitted a new patch (v2) to the Linux Kernel mailing list to further advance the work of Rust for Linux.

The content of the email stated that the new patch will add support for Rust as a second language to the Linux kernel, and improve Rust's overall support in many ways, such as:

  • Rust code now relies on the stable Rust compiler instead of the previous beta compiler
  • Added new modular options
  • Stricter code execution
  • Additional Rust compiler diagnostics enabled
  • Provides a new abstraction for in-kernel use
  • And other low-level code improvements

Ojeda said that every time a new stable Rust compiler is released, Rust on Linux will be migrated. It has now migrated to the Rust 1.57.0 version released just last week.

In addition, Red Hat has now joined Arm, Google and Microsoft to express their support for the project.

Finally, I hope to see the first Rust code in the Linux kernel in 2022.


snakesss
1.1k 声望243 粉丝

SegmentFault 思否编辑,欢迎投稿优质技术资讯!