Rust Internals
Optimizing layout of nested enums?
compiler
SimonSapin
April 17, 2017, 3:05pm
10
Not rouding size of types up to a multiple of alignment?
is possibly related.
show post in topic
Related topics
Topic
Replies
Views
Activity
Pre-RFC - Add alignment niches for references
language design
19
3177
March 10, 2022
A #[repr] to allow an enum containing enums to use a single discriminant
language design
15
1730
May 10, 2020
Unreachable variants of enum still impact layout
language design
11
1574
September 15, 2022
Store Option discriminant in Containing type (optimization)
compiler
6
730
May 9, 2025
Bitpacking the flag and data of an enum
language design
10
1564
January 3, 2021