summaryrefslogtreecommitdiff
path: root/src/codegen/impl_partialeq.rs
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2017-10-31 15:34:56 -0700
committerNick Fitzgerald <fitzgen@gmail.com>2017-10-31 15:34:56 -0700
commite17bd8df3fbd686fa0857b2e09d6e38c9fb6262c (patch)
treee5c385a8060cddda62009b9d4f979757c93bf1fb /src/codegen/impl_partialeq.rs
parent7bc4f34ab6a1361ac7232a99da794873a3feaffc (diff)
Unnamed bit-fields should not affect alignment
According to the x86[-64] ABI spec: "Unnamed bit-fields’ types do not affect the alignment of a structure or union". This makes sense: such bit-fields are only used for padding, and we can't perform an un-aligned read of something we can't read because we can't even name it. Fixes #1076
Diffstat (limited to 'src/codegen/impl_partialeq.rs')
0 files changed, 0 insertions, 0 deletions