mirror of
https://github.com/Noratrieb/crimes.git
synced 2026-01-14 17:15:01 +01:00
better safe than sorry for the align wrapper
This commit is contained in:
parent
ea45532926
commit
25efb79783
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ type DBuf = MaybeUninit<[u8; 2]>;
|
|||
/// just a pointer, doesn't matter which one
|
||||
type Ptr = *const u8;
|
||||
|
||||
#[repr(C)]
|
||||
#[repr(align(8))]
|
||||
struct Align8<T>(T);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue