Rust 1.81
End of life- Released
- Sep 5, 2024
- Latest patch
- 1.81.0 · Sep 5, 2024
- Active support until
- —
- End of life
- Oct 17, 2024
- Official release notes
- https://github.com/rust-lang/rust/releases/tag/1.81.0 ↗
What's new in Rust 1.81.0
This is a new minor release of Rust (1.81.0) with new language features, library changes, and several breaking or compatibility-affecting changes, plus a security fix.
- Breaking:
std::panic::PanicInfois renamed tostd::panic::PanicHookInfo; the old name still works as an alias but triggers a deprecation warning starting in Rust 1.82.0.core::panic::PanicInfois a separate type and is unchanged. - Breaking: the new sort implementations (stable
driftsort, unstableipnsort) may panic if anOrdimplementation or comparison function does not form a total order. - Language:
#[expect]for lints is stabilized (RFC 2383), like#[allow]but warns if the lint is not triggered. Uncaught panics inextern "C"functions now abort. - Deprecation: the no-op codegen option
-Cinline-thresholdis deprecated.wasm32-wasinow emits a warning; switch towasm32-wasip1. - Stabilized APIs include
core::error,hint::assert_unchecked,fs::exists,Duration::abs_diff, andPanicHookInfo. - Security: fixes argument escaping in
Commandbatch files on Windows (CVE-2024-43402).
Based on the official release notes.
FAQ
When was Rust 1.81 released?
Rust 1.81 was released on September 5, 2024.
What is the latest Rust 1.81 release?
The latest release in the Rust 1.81 cycle is 1.81.0, released on September 5, 2024.
Is Rust 1.81 still supported?
No. Rust 1.81 has reached end of life on October 17, 2024 and no longer gets fixes.
Data: endoflife.date.


