Skip to content

Commit b9be9e5

Browse files
committed
Move the layout change to 1.67 compat notes
1 parent ddcb02d commit b9be9e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

RELEASES.md

+5
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ These APIs are now stable in const contexts:
7171
Compatibility Notes
7272
-------------------
7373

74+
- [The layout of `repr(Rust)` types now groups m\*2^n-sized fields with
75+
equivalently aligned ones.](https://github.com/rust-lang/rust/pull/102750/)
76+
This is intended to be an optimization, but it is also known to increase type
77+
sizes in a few cases for the placement of enum tags. As a reminder, the layout
78+
of `repr(Rust)` types is an implementation detail, subject to change.
7479
- [0.5 now rounds to 0 when formatted to 0 decimal places.](https://github.com/rust-lang/rust/pull/102935/)
7580
This makes it consistent with the rest of floating point formatting that
7681
rounds ties toward even digits.

0 commit comments

Comments
 (0)