Announcing Rust 1.96.0 Jun 2026
These targets are now available for production use with pre-built standard libraries.
: The compiler has stopped passing --allow-undefined on Wasm targets by default, encouraging more robust linking practices. Check Out the Full Release Notes
Cargo now uses the sparse registry protocol (introduced in 1.68) as the default for crates.io and compatible registries. Significantly faster crate resolution and updates—no more full index clones. Upgrade today for snappier CI and local development. announcing rust 1.96.0
You can now combine multiple if let and conditions in one concise expression without nesting!
: The missing_doc_code_examples lint will no longer trigger on impl items, reducing unnecessary warnings in well-documented crates. These targets are now available for production use
These new types address a long-standing "design regret" in Rust: the original Range types did not implement Copy . The new types are designed to be more flexible and integrated into upcoming edition-specific syntax changes. 2. Standard Library Enhancements
Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. It empowers everyone to build reliable and efficient software. : The missing_doc_code_examples lint will no longer trigger
, you can update to 1.96.0 with: bash rustup update stable Use code with caution. Copied to clipboard What's in 1.96.0 stable Rust 1.96.0 is scheduled to bring further refinements to the Rust 2024 edition (released in early 2025) and continued performance improvements to the compiler. Stable Release Date: May 28, 2026. Beta Branching: The 1.96.0 features will branch from master into beta on April 10, 2026. Key Focus: While specific stabilized APIs for this version are still being finalized in the nightly channel, recent releases have focused on expanding