This release brings a highly anticipated overhaul to compile-time evaluation, introduces deep ergonomic improvements to the macro system, stabilizes several critical standard library APIs, and refines the borrow checker to handle complex self-referential patterns smoothly. 1. Advanced Const Evaluation: const_panic and Beyond
If you already have a previous version of Rust installed via rustup , you can upgrade to version 1.96.0 instantly by running the following command in your terminal: rustup update stable Use code with caution.
Rust 1960 ships with a time-appropriate version of Cargo. Since the internet does not exist, cargo punch replaces cargo build . You feed a deck of blank punch cards into the hopper, and Cargo punches the dependencies onto the cards from a local magnetic tape index. announcing rust 1960
To install Rust 1960, you do not need rustup . You need a time machine or a very understanding mainframe operator.
The new concurrency model in Rust 1960, called "Async/await++," provides a more streamlined and expressive way to write concurrent programs. Building on the foundations of async/await, Async/await++ introduces a novel set of combinators and APIs that simplify the development of high-performance, concurrent systems. This release brings a highly anticipated overhaul to
A massive thank you to the hundreds of individuals who made Rust 1.96.0 possible. Whether you wrote code, updated documentation, reported bugs, or reviewed pull requests, your dedication drives this language forward. Rust is, and always will be, a community-driven project.
Automatically flags legacy code patterns that can now be rewritten using the newly stabilized const and slice APIs introduced in this release. Contributors to Rust 1.96.0 Rust 1960 ships with a time-appropriate version of Cargo
: This version continues the trend of stabilizing internal features for better C-style variadic function support and enhanced lints (like dangling_pointers_from_locals ) that prevent even the most obscure undefined behaviors. Announcing Rust 1.90.0
If this sounds complex, it is—but the payoff is immense. “For the first time, a programmer can write a complicated linked structure and be guaranteed that it will never corrupt memory,” says Thornton. “The compiler checks all the rules for you, and it does so with zero runtime overhead.” In internal tests, programs written in Rust 1960 have exhibited 31% fewer crashes than equivalent FORTRAN programs, and 78% fewer debugging hours.
Running cargo build --timings generates an interactive HTML report.
The Rust programming language has come a long way since its inception in 2010. From its early days as a research project to its current status as a widely-adopted language in the software industry, Rust has consistently demonstrated its commitment to safety, performance, and concurrency. With Rust 1960, we take a significant leap forward, introducing a range of features that address the evolving needs of systems programmers.