Skip to main content

Rust 1.97.1

Release Date: July 16, 2026

Rust 1.97.1 has been released — a patch release addressing a critical miscompilation issue in LLVM optimization.

What's Fixed in Rust 1.97.1

  • LLVM miscompilation fix — A bug in LLVM optimization that caused incorrect code generation in certain edge cases has been resolved.
  • LLVM submodule bump — Backported the LLVM-side fix to ensure full correction of the miscompilation issue.
  • Revert of triggering change — The rustc change that is one known trigger for the bug has been reverted out of abundance of caution, even though the LLVM fix alone should be sufficient.

Who Should Upgrade

This patch is recommended for all Rust users who are on the 1.97.0 stable channel. The miscompilation could affect programs relying on specific LLVM optimization passes, particularly in performance-sensitive code paths.

How to Update

If you have rustup installed, updating is straightforward:

  • Run rustup update stable to get Rust 1.97.1
  • Verify with rustc --version which should return rustc 1.97.1

Rust 1.97.1 is available now through rustup and all official distribution channels.

What is New?

By continuing to use the site, you agree to the use of cookies.