Skip to content

Commit 1ca768f

Browse files
committed
Make mcontext_t align 16
1 parent 9cfd710 commit 1ca768f

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux/musl/b64/aarch64

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/musl/b64/aarch64/align.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ s! {
1515
pub uc_mcontext: mcontext_t,
1616
}
1717

18+
#[repr(align(16))]
1819
pub struct mcontext_t {
1920
__regs: [u64; 36 + 512],
2021
}

0 commit comments

Comments
 (0)