Rust 1.95 Released With Several Improvements
([Programming] 3 Hours Ago
Rust 1.95)
- Reference: 0001627415
- News link: https://www.phoronix.com/news/Rust-1.95-Released
- Source link:
Rust 1.95 was released to the wild today as the latest feature update to this popular programming language.
Rust 1.95 brings the new cfg_select! macro that serves the same purpose as the cfg-if crate. This cfg_select! acts similar to a compile-time match on cfg's.
Rust 1.95 also adds in if-let guards into match expressions, stabilizes a number of APIs, and various other changes.
The Linux kernel for its part has already been [1]preparing for Rust 1.95 .
More details on the Rust 1.95 changes can be found via the announcement on [2]Rust-Lang.org .
[1] https://www.phoronix.com/news/Linux-7.0-Rust-1.95-Prep
[2] https://blog.rust-lang.org/2026/04/16/Rust-1.95.0/
Rust 1.95 brings the new cfg_select! macro that serves the same purpose as the cfg-if crate. This cfg_select! acts similar to a compile-time match on cfg's.
Rust 1.95 also adds in if-let guards into match expressions, stabilizes a number of APIs, and various other changes.
The Linux kernel for its part has already been [1]preparing for Rust 1.95 .
More details on the Rust 1.95 changes can be found via the announcement on [2]Rust-Lang.org .
[1] https://www.phoronix.com/news/Linux-7.0-Rust-1.95-Prep
[2] https://blog.rust-lang.org/2026/04/16/Rust-1.95.0/