Radar · Rust · Archive · Week 29 · Jul 13 – 19, 2026
Rust 1.97.0
Worth knowingcompiler
- What changed
- The Rust team announced the stable 1.97.0 release.
- Production impact
- The source does not say.
- Try it
- Run
rustc --versionto see the new version. - Source
- blog.rust-lang.org/2026/07/09/Rust-1.97.0/
Understand it, then run it
Run it now
// This program demonstrates the `char::is_control` method, which was stabilized
// in Rust 1.97.0. It prints whether the newline character is considered a
// control character. The output is shown below.
fn main() {
let c = '\n';
// Use `{:?}` to display the character as an escaped string.
println!("Is {:?} a control character? {}", c, c.is_control());
}
What it printed when we ran it on Rust 1.98.1 (edition 2024)
Is '\n' a control character? true
Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed