Email me

Rust versions / 1.95

Rust release · Apr 16, 2026

Rust 1.95: what's new, what was stabilized

Short answerRust 1.95 was released on Apr 16, 2026: 2 language stabilizations (Stabilize if let guards on match arms); 40 newly stable APIs (MaybeUninit<[T; N]>: From<[MaybeUninit<T>; N]>, MaybeUninit<[T; N]>: AsRef<[MaybeUninit<T>; N]>, MaybeUninit<[T; N]>: AsRef<[MaybeUninit<T>]>, MaybeUninit<[T; N]>: AsMut<[MaybeUninit<T>; N]>, ...); 13 compatibility notes that can affect existing code.

Apr 16, 2026release date
2language stabilizations
40APIs stabilized
-new edition

← Rust 1.94All versionsRust 1.96 →

Language features stabilized

  • Stabilize if let guards on match arms
  • Stabilize inline assembly for PowerPC and PowerPC64

40 APIs stabilized

MaybeUninit<[T; N]>: From<[MaybeUninit<T>; N]>, MaybeUninit<[T; N]>: AsRef<[MaybeUninit<T>; N]>, MaybeUninit<[T; N]>: AsRef<[MaybeUninit<T>]>, MaybeUninit<[T; N]>: AsMut<[MaybeUninit<T>; N]>, MaybeUninit<[T; N]>: AsMut<[MaybeUninit<T>]>, [MaybeUninit<T>; N]: From<MaybeUninit<[T; N]>>, Cell<[T; N]>: AsRef<[Cell<T>; N]>, Cell<[T; N]>: AsRef<[Cell<T>]>, Cell<[T]>: AsRef<[Cell<T>]>, bool: TryFrom<{integer}>, AtomicPtr::update, AtomicPtr::try_update, AtomicBool::update, AtomicBool::try_update, AtomicIn::update, AtomicIn::try_update, AtomicUn::update, AtomicUn::try_update, cfg_select!, mod core::range, core::range::RangeInclusive, core::range::RangeInclusiveIter, core::hint::cold_path, <*const T>::as_ref_unchecked, <*mut T>::as_ref_unchecked, <*mut T>::as_mut_unchecked, Vec::push_mut, Vec::insert_mut, VecDeque::push_front_mut, VecDeque::push_back_mut, VecDeque::insert_mut, LinkedList::push_front_mut, LinkedList::push_back_mut, Layout::dangling_ptr, Layout::repeat, Layout::repeat_packed, Layout::extend_packed, fmt::from_fn, ControlFlow::is_break, ControlFlow::is_continue

Can it break my build?

The release lists these compatibility notes. Most only affect rare code, but read them before you raise your toolchain in CI:

Use it

rustup update stable        # get the newest release
rustup install 1.95          # or exactly this one
rustup override set 1.95     # pin a project to it

To require at least this version from users of your crate, set rust-version = "1.95" under [package] in Cargo.toml. Cargo then refuses to build it on older compilers with a clear message, and with resolver 3 (the default on the 2024 edition, Rust 1.85+) it also prefers dependency versions that support it.

Full release notes

Language

<a id="1.95-Compiler"></a>

Compiler

<a id="1.95-Platform-Support"></a>

Platform Support

Refer to Rust's platform support page for more information on Rust's tiered platform support.

<a id="1.95-Libraries"></a>

Libraries

<a id="1.95-Stabilized-APIs"></a>

Stabilized APIs

These previously stable APIs are now stable in const contexts:

<a id="1.95-Rustdoc"></a>

Rustdoc

<a id="1.95-Compatibility-Notes"></a>

Compatibility Notes

<a id="1.95-Internal-Changes"></a>

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.

Release notes from the Rust project's RELEASES.md (MIT or Apache-2.0); summaries above are ours.

← Rust 1.94All versionsRust 1.96 →

Up next

Next releaseRust 1.96Released May 28, 2026.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ