Emilio Cobos Álvarez 9a2ce1ca6e Remove padding for over-aligned structs when we support repr(align).
Before repr(align), we could only safely guarantee up to 8-bytes of alignment (I
think the pointer-width check is a more conservative way of doing that, in
practice, because I _think_ u64 is 8-byte aligned even for smaller targets).

So when we may generate a potentially-under-aligned struct, we always used to
pad it so as to guarantee that at least the size (and thus reads from rust for
C-allocated structs) was fine.

But if we support repr(align), then the above is always unneeded.
2020-01-13 02:33:01 +01:00
..
2017-01-23 10:22:08 +01:00
2019-10-14 14:15:46 +02:00
2017-04-12 10:21:19 -07:00
2019-12-11 03:13:46 +01:00