better safe than sorry for the align wrapper

This commit is contained in:
nora 2022-04-20 11:03:17 +02:00
parent ea45532926
commit 25efb79783

View file

@ -15,6 +15,7 @@ type DBuf = MaybeUninit<[u8; 2]>;
/// just a pointer, doesn't matter which one /// just a pointer, doesn't matter which one
type Ptr = *const u8; type Ptr = *const u8;
#[repr(C)]
#[repr(align(8))] #[repr(align(8))]
struct Align8<T>(T); struct Align8<T>(T);