Skip to content
Release Radar

Rust 1.78

End of life
Released
May 2, 2024
Latest patch
1.78.0 · May 2, 2024
Active support until
—
End of life
Jun 13, 2024

What's new in Rust 1.78.0

This is a new minor release of Rust with language, library, Cargo and tooling changes, plus some breaking changes in compatibility notes. Breaking changes first: making matching on NaN and non-PartialEq-typed consts as patterns hard errors; making the INVALID_DOC_ATTRIBUTES lint deny by default; requiring at least Windows 10 for tier 1 Windows targets; and the riscv split_debuginfo=off restriction. Key changes for developers:

  • Stabilized #[cfg(target_abi = ...)] and the #[diagnostic] namespace with #[diagnostic::on_unimplemented].
  • Async fn in traits can now be implemented with concrete signatures.
  • Many unsafe precondition checks now run in user code with debug assertions enabled, which can surface undefined behavior.
  • Cargo stabilizes lockfile v4 and global cache data tracking, and respects rust-version when generating the lockfile.
  • New tier 2 and tier 3 targets were added, including wasm32-wasip1 and wasm32-wasip2.
  • Several APIs were stabilized, including impl Read for &Stdin and impl From for io::Error.

Based on the official release notes.

FAQ

When was Rust 1.78 released?

Rust 1.78 was released on May 2, 2024.

What is the latest Rust 1.78 release?

The latest release in the Rust 1.78 cycle is 1.78.0, released on May 2, 2024.

Is Rust 1.78 still supported?

No. Rust 1.78 has reached end of life on June 13, 2024 and no longer gets fixes.

Data: endoflife.date.

Rust news on Blozhik

blozhikDeveloper news from across the web, explained. Every story links to its original sources.