Email me

Rust versions / 1.97

Rust release · Jul 9, 2026

Rust 1.97: what's new, what was stabilized

Short answerRust 1.97 was released on Jul 9, 2026: 2 language stabilizations (Stabilize the div32, lam-bh, lamcas, ld-seq-sa and scq target features); 14 newly stable APIs (Default for RepeatN, Copy for ffi::FromBytesUntilNulError, Send for std::fs::File, <{integer}>::isolate_highest_one, ...); 14 compatibility notes that can affect existing code. Point release: 1.97.1 (Jul 16, 2026).

Jul 9, 2026release date
2language stabilizations
14APIs stabilized
-new edition

← Rust 1.96All versionsRust 1.98 →

Language features stabilized

  • Stabilize the div32, lam-bh, lamcas, ld-seq-sa and scq target features
  • Stabilize cfg(target_has_atomic_primitive_alignment)

14 APIs stabilized

Default for RepeatN, Copy for ffi::FromBytesUntilNulError, Send for std::fs::File, <{integer}>::isolate_highest_one, <{integer}>::isolate_lowest_one, <{integer}>::highest_one, <{integer}>::lowest_one, <{integer}>::bit_width, NonZero<{integer}>::isolate_highest_one, NonZero<{integer}>::isolate_lowest_one, NonZero<{integer}>::highest_one, NonZero<{integer}>::lowest_one, NonZero<{integer}>::bit_width, char::is_control

Can it break my build?

The release lists these compatibility notes. Most only affect rare code, but read them before you raise your toolchain in CI:

Use it

rustup update stable        # get the newest release
rustup install 1.97          # or exactly this one
rustup override set 1.97     # pin a project to it

To require at least this version from users of your crate, set rust-version = "1.97" under [package] in Cargo.toml. Cargo then refuses to build it on older compilers with a clear message, and with resolver 3 (the default on the 2024 edition, Rust 1.85+) it also prefers dependency versions that support it.

Full release notes

Language

<a id="1.97.0-Platform-Support"></a>

Platform Support

Refer to Rust's platform support page for more information on Rust's tiered platform support.

<a id="1.97.0-Stabilized-APIs"></a>

Stabilized APIs

These previously stable APIs are now stable in const contexts:

<a id="1.97.0-Cargo"></a>

Cargo

<a id="1.97.0-Rustdoc"></a>

Rustdoc

<a id="1.97.0-Compatibility-Notes"></a>

Compatibility Notes

1.97.1 (Jul 16, 2026)

<a id="1.97.1"></a>

  • rustc: Fix miscompilation in LLVM optimization This backports an LLVM submodule bump to include the LLVM-side fix and a revert of the rustc change that is one known trigger for the bug. The rustc side revert should not be strictly necessary but is done out of abundance of caution.

Release notes from the Rust project's RELEASES.md (MIT or Apache-2.0); summaries above are ours.

← Rust 1.96All versionsRust 1.98 →

Up next

Next releaseRust 1.98Released Aug 20, 2026.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ