github rust-lang/rust 1.5.0
Rust 1.5.0

latest releases: 1.78.0, 1.77.2, 1.77.1...
3 years ago
  • ~700 changes, numerous bugfixes

Highlights

Breaking Changes

Language

  • When evaluating expressions at compile-time that are not compile-time constants (const-evaluating expressions in non-const contexts), incorrect code such as overlong bitshifts and arithmetic overflow will generate a warning instead of an error, delaying the error until runtime. This will allow the const-evaluator to be expanded in the future backwards-compatibly.
  • The improper_ctypes lint no longer warns about using isize and usize in FFI.

Libraries

Miscellaneous

Don't miss a new rust release

NewReleases is sending notifications on new releases.