Skip to content

Commit 8cf1995

Browse files
committed
Fix alignment of uc_ucontext fields on arm64 android
1 parent 0e6afd5 commit 8cf1995

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

src/unix/linux_like/android/b64/aarch64/align.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ s! {
1212
pub uc_link: *mut ucontext_t,
1313
pub uc_stack: ::stack_t,
1414
pub uc_sigmask: ::sigset_t,
15+
pub __pad: [u8; 1024 / 8 - size_of::<::sigset_t>()],
1516
pub uc_mcontext: mcontext_t,
1617
}
1718

0 commit comments

Comments
 (0)