From 707d32cddd461854c81af494f2f488b273520586 Mon Sep 17 00:00:00 2001 From: Callum Thomson Date: Tue, 24 Sep 2024 19:10:55 +0100 Subject: [PATCH] Fix alignment of uc_ucontext fields on arm64 android (#3894) --- src/unix/linux_like/android/b64/aarch64/align.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/linux_like/android/b64/aarch64/align.rs b/src/unix/linux_like/android/b64/aarch64/align.rs index 154c2c54ce6de..6891c14e90fa0 100644 --- a/src/unix/linux_like/android/b64/aarch64/align.rs +++ b/src/unix/linux_like/android/b64/aarch64/align.rs @@ -12,6 +12,7 @@ s! { pub uc_link: *mut ucontext_t, pub uc_stack: ::stack_t, pub uc_sigmask: ::sigset_t, + pub __pad: [u8; 1024 / 8 - core::mem::size_of::<::sigset_t>()], pub uc_mcontext: mcontext_t, }