Closed Manishearth closed 1 year ago
repr(Rust) makes no guarantees about alignment or layout here
Hmm Ok. I thought zero-length arrays have a special meaning in C. But I see C-compatibility isn't the only purpose of #[repr(C)], and I trust you on this. Thanks!
#[repr(C)]
repr(Rust) makes no guarantees about alignment or layout here