1 // compile-flags: -Z print-type-sizes
4 // This file illustrates how padding is handled: alignment
5 // requirements can lead to the introduction of padding, either before
6 // fields or at the end of the structure as a whole.
8 // It avoids using u64/i64 because on some targets that is only 4-byte
9 // aligned (while on most it is 8-byte aligned) and so the resulting
10 // padding and overall computed sizes can be quite different.
32 fn start(_: isize, _: *const *const u8) -> isize {
33 let _s: S = Default::default();