Skip to main content

Rust 1.96.0

Release Date: May 28, 2026

Rust 1.96.0 ships new standard library types, stabilised APIs across core and the compiler, and targeted tooling improvements.

  • New range types — core::range::Range and core::range::RangeIter replace the previous Range implementation with proper Copy semantics and ergonomic iterator integration
  • array::each_ref / array::each_mut — borrow each element of an array as a reference slice, eliminating manual indexing in array pipelines
  • core::net moved to core — IpAddr, Ipv4Addr, Ipv6Addr, and SocketAddr now live in core, enabling no-alloc networking use cases
  • f32::round_ties_even / f64::round_ties_even — bank-rounding semantics added to floating-point primitives
  • Compiler fix for Copy specialisation — the compiler stopped unsound internal specialisation on the Copy trait, fixing a correctness issue
  • s390x inline assembly — support for s390x vector registers in inline assembly, expanding the languages reach on IBM Z hardware
  • Reproducible cargo archives — cargo package now produces reproducible archives by default

Available via rustup update stable.

Other Versions

By continuing to use the site, you agree to the use of cookies.