You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While both TaskStateSegment and DescriptorTablePointer can't have their
normal C alignment due to their definition. However, this doesn't mean
their alignment has to be `1`.
This PR sets their alignment to be the max possible while still
preserving their ABI definied structure. I added some tests to make sure
there is not a regression.
This can also result in more efficient code generation on platofrms
without unalgined loads. https://rust.godbolt.org/z/EPbbMxeq1
Signed-off-by: Joe Richey <joerichey@google.com>
0 commit comments