Radar · Rust · Archive · Week 32 · Aug 4 – 10, 2025
Rust 1.89.0 Release
Worth knowingtooling
- What changed
- The Rust team announced the release of Rust 1.89.0.
- Production impact
- The source does not say.
- Try it
- Run
rustc --versionto confirm you are on 1.89.0. - Source
- blog.rust-lang.org/2025/08/07/Rust-1.89.0/
Understand it, then run it
Rust 1.89.0 adds a new way to write const generic functions. Before, you had to write the concrete size every time you called a function that returned an array. Now you can write pub fn all_false<const LEN: usize>() -> [bool; LEN] { [false; _] }. The underscore tells the compiler to figure out the array length from the context where the function is used.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed