Skip to content

Commit

Permalink
Move the layout change to 1.67 compat notes
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Jan 21, 2023
1 parent ddcb02d commit b9be9e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b9be9e5

Please sign in to comment.