Skip to content

Releases: rust-lang/rust

Rust 1.83.0

28 Nov 14:02
Compare
Choose a tag to compare

Language

Compiler

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

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Read more

Rust 1.82.0

17 Oct 16:44
Compare
Choose a tag to compare

Language

Compiler

Libraries

Stabilized APIs

Read more

Rust 1.81.0

05 Sep 16:06
Compare
Choose a tag to compare

Language

Compiler

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Compatibility Notes

  • Usage of the wasm32-wasi target will now issue a compiler warning and request users switch to the wasm32-wasip1 target instead. Both targets are the same, wasm32-wasi is only being renamed, and this change to the WASI target is being done to enable removing wasm32-wasi in January 2025.

  • We have renamed std::panic::PanicInfo to std::panic::PanicHookInfo. The old name will continue to work as an alias, but will result in a deprecation warning starting in Rust 1.82.0.

    core::panic::PanicInfo will remain unchanged, however, as this is now a different type.

    The reason is that these types have different roles: std::panic::PanicHookInfo is the argument to the panic hook in std context (where panics can have an arbitrary payload), while core::panic::PanicInfo is the argument to the #[panic_handler] in no_std context (where panics always carry a formatted message). Separating these types allows us to add more useful methods to these types, such as std::panic::PanicHookInfo::payload_as_str() and core::panic::PanicInfo::message().

  • The new sort implementations may panic if a type's implementation of Ord (or the given comparison function) does not implement a total order as the trait requires. Ord's supertraits (PartialOrd, Eq, and PartialEq) must also be consistent. The previous implementations would not "notice" any problem, but the new implementations have a good chance of detecting inconsistencies, throwing a panic rather than returning knowingly unsorted data.

  • In very rare cases, a change in the internal evaluation order of the trait solver may result in new fatal overflow errors.

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.

Rust 1.80.1

05 Sep 01:30
Compare
Choose a tag to compare

Rust 1.80.0

25 Jul 20:26
Compare
Choose a tag to compare

Language

Compiler

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Read more

Rust 1.79.0

13 Jun 14:04
Compare
Choose a tag to compare

Language

Compiler

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

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Rustdoc

Misc

Compatibility Notes

Rust 1.78.0

02 May 12:39
Compare
Choose a tag to compare

Language

Compiler

Target changes:

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

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Compatibility Notes

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.

Rust 1.77.2

09 Apr 22:00
Compare
Choose a tag to compare

Rust 1.77.1

29 Mar 18:03
Compare
Choose a tag to compare

Rust 1.77.0

21 Mar 12:57
Compare
Choose a tag to compare

Language

Compiler

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

Libraries

Stabilized APIs

Cargo

Rustdoc

Misc

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.