diff options
| author | Josh Stone <jistone@redhat.com> | 2023-01-21 15:08:48 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2023-01-21 15:08:48 -0800 |
| commit | b9be9e5fd1d2b7aace3875a77d1715bd9daa7e54 (patch) | |
| tree | 534e94d9770775fdc50c22f1a3c675906f933fbf | |
| parent | ddcb02d10a575f88a0599893525ded7337ed648e (diff) | |
| download | rust-b9be9e5fd1d2b7aace3875a77d1715bd9daa7e54.tar.gz rust-b9be9e5fd1d2b7aace3875a77d1715bd9daa7e54.zip | |
Move the layout change to 1.67 compat notes
| -rw-r--r-- | RELEASES.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/RELEASES.md b/RELEASES.md index ea5a1a8729f..a63d4e8a043 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -71,6 +71,11 @@ These APIs are now stable in const contexts: 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. |
