News: 0001551293

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Crate Improvements & Other Rust Changes Merged For Linux 6.16

([Linux Kernel] 4 Minutes Ago Rust For Linux 6.16)


In addition to a number of [1]new Rust abstractions in different Linux kernel subsystems , the main Rust infrastructure pull request was submitted and merged yesterday as we approach the end of the [2]Linux 6.16 merge window.

The Rust pull for Linux 6.16 adds support for KUnit-mapped "assert!" macros to build off the initial code that landed the previous cycle, compiling core with Rust Edition 2024 for Rust 1.87 and newer, and various fixes/workarounds.

A number of the Rust crates for the Linux kernel have also seen additions like the kernel crate gaining new features, a Rust abstraction for the XArray data structure, new wrappers in the pin-init crate, and more.

There are also Rust documentation improvements, including updated Ubuntu instructions for Ubuntu Rust Linux kernel use and refined coding guidelines.

More details on these Rust changes for Linux 6.16 via [3]this pull request that overnight was merged to Git.



[1] https://www.phoronix.com/news/Linux-6.16-More-Rust-Core

[2] https://www.phoronix.com/search/Linux+6.16

[3] https://lore.kernel.org/lkml/20250605025400.244965-1-ojeda@kernel.org/



phoronix

As the system comes up, the component builders will from time to time appear,
bearing hot new versions of their pieces -- faster, smaller, more complete,
or putatively less buggy. The replacement of a working component by a new
version requires the same systematic testing procedure that adding a new
component does, although it should require less time, for more complete and
efficient test cases will usually be available.
-- Frederick Brooks Jr., "The Mythical Man Month"