Rust 1.37.0 is out

Among the innovations:

  • It is allowed to refer to variants of enum through type aliases (type aliases), for example through Self.
  • cargo vendor is now included in the standard distribution.
    • With the cargo vendor, you can explicitly download and use a complete copy of all source codes for all dependencies. This is useful for companies with mono-repositories that would like to store and analyze all source code used in their software.
  • const_: support.
  • Support for Profile Guided Optimization.
  • #[repr(align(N))] support for better control over alignment in structures.
  • Changes in the standard library.
  • Changes in clippy
  • Microsoft and Amazon became sponsors of Rust, providing a cloud infrastructure for building and testing Rust.

Source: linux.org.ru

Add a comment