Closed
Description
For example, the linux headers have this struct:
struct xregs_state {
struct fxregs_state i387;
struct xstate_header header;
u8 extended_state_area[0];
} __attribute__ ((packed, aligned(64)));
Which will fail to compile when translated due to being #[repr(C, packed, align(64)]
but a struct cannot be packed and aligned in rust. This is blocked on rust-lang/rust#59154