Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. #[repr(align(512))]
  2. struct A;
  3.  
  4. fn main() {
  5. dbg!(std::mem::align_of::<A>());
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement