X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=RELEASES.md;h=a63d4e8a043c606e4384eb5b7f6d6bc581802de9;hb=HEAD;hp=79c49e9d7909e26460c2f8dc745c7173fb99831c;hpb=edd647e141d76152e00c133766b4cf239533856e;p=rust.git diff --git a/RELEASES.md b/RELEASES.md index 79c49e9d790..a63d4e8a043 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,7 +1,7 @@ -Version 1.67 (2023-01-26) +Version 1.67.0 (2023-01-26) ========================== - + Language -------- @@ -12,7 +12,7 @@ Language - [Invalid literals are no longer an error under `cfg(FALSE)`.](https://github.com/rust-lang/rust/pull/102944/) - [Unreserve braced enum variants in value namespace.](https://github.com/rust-lang/rust/pull/103578/) - + Compiler -------- @@ -33,7 +33,7 @@ Added and removed targets: Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support. - + Libraries --------- @@ -43,7 +43,7 @@ Libraries - [Derive `Eq` and `Hash` for `ControlFlow`.](https://github.com/rust-lang/rust/pull/103084/) - [Don't build `compiler_builtins` with `-C panic=abort`.](https://github.com/rust-lang/rust/pull/103786/) - + Stabilized APIs --------------- @@ -66,18 +66,23 @@ These APIs are now stable in const contexts: - [`core::char::from_u32`](https://doc.rust-lang.org/stable/core/char/fn.from_u32.html) - [`core::char::from_digit`](https://doc.rust-lang.org/stable/core/char/fn.from_digit.html) - + Compatibility Notes ------------------- +- [The layout of `repr(Rust)` types now groups m\*2^n-sized fields with + equivalently aligned ones.](https://github.com/rust-lang/rust/pull/102750/) + This is intended to be an optimization, but it is also known to increase type + sizes in a few cases for the placement of enum tags. As a reminder, the layout + of `repr(Rust)` types is an implementation detail, subject to change. +- [0.5 now rounds to 0 when formatted to 0 decimal places.](https://github.com/rust-lang/rust/pull/102935/) + This makes it consistent with the rest of floating point formatting that + rounds ties toward even digits. - [Chains of `&&` and `||` will now drop temporaries from their sub-expressions in evaluation order, left-to-right.](https://github.com/rust-lang/rust/pull/103293/) Previously, it was "twisted" such that the _first_ expression dropped its temporaries _last_, after all of the other expressions dropped in order. -- [Proc-macro derives using inaccessible names from parent modules is now a hard error.](https://github.com/rust-lang/rust/pull/84022/) - This has been a warning since 1.29.0, and denied by default since 1.58.0. - (**TODO**: revert proposed in ) - [Underscore suffixes on string literals are now a hard error.](https://github.com/rust-lang/rust/pull/103914/) This has been a future-compatibility warning since 1.20.0. - [Stop passing `-export-dynamic` to `wasm-ld`.](https://github.com/rust-lang/rust/pull/105405/) @@ -85,7 +90,7 @@ Compatibility Notes - [Cargo now emits an error if there are multiple registries in the configuration with the same index URL.](https://github.com/rust-lang/cargo/pull/10592) - + Internal Changes ----------------