1.58.0

1.58.0 (2022-01-13) #

Language #

Compiler #

* Refer to Rust’s [platform support page][platform-support-doc] for more information on Rust’s tiered platform support.

Libraries #

Stabilized APIs #

These APIs are now usable in const contexts:

  • Duration::new
  • [Duration::checked_add]
  • [Duration::saturating_add]
  • [Duration::checked_sub]
  • [Duration::saturating_sub]
  • [Duration::checked_mul]
  • [Duration::saturating_mul]
  • [Duration::checked_div]

Cargo #

Rustdoc #

Compatibility Notes #

Internal Changes #

These changes provide no direct user facing benefits, but represent significant improvements to the internals and overall performance of rustc and related tools.