Radar · Rust · Archive · Week 17 · Apr 20 – 26, 2026
Announcing Rust 1.95.0
Worth knowingcompiler
- What changed
- The Rust team released version 1.95.0, adding new compiler features and bug fixes.
- Production impact
- The source does not say.
- Try it
- Run
rustc --versionto confirm you are on 1.95.0. - Source
- blog.rust-lang.org/2026/04/16/Rust-1.95.0/
Understand it, then run it
After the change ships
rust · the proposal's code; it does not compile until the change ships
// This code uses cfg_select! which does not compile until Rust 1.95.0 ships.
cfg_select! {
unix => {
fn foo() { /* unix specific functionality */ }
}
target_pointer_width = "32" => {
fn foo() { /* non-unix, 32‑bit functionality */ }
}
_ => {
fn foo() { /* fallback implementation */ }
}
}
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed