Rust 1.95 Released With Several Improvements

Written by Michael Larabel in Programming on 16 April 2026 at 09:19 AM EDT. 19 Comments
PROGRAMMING
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.

cfg_select! example


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 preparing for Rust 1.95.

More details on the Rust 1.95 changes can be found via the announcement on Rust-Lang.org.
Related News
About The Author

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week