github rust-lang/rust 1.5.0
Rust 1.5.0

latest releases: 1.82.0, 1.81.0, 1.80.1...
4 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.