We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83b3730 commit 2259b0bCopy full SHA for 2259b0b
src/unix/linux_like/linux/musl/b64/aarch64/align.rs
@@ -5,3 +5,21 @@ s_no_extra_traits! {
5
priv_: [f32; 8]
6
}
7
8
+
9
+s!{
10
+ pub struct ucontext_t {
11
+ pub uc_flags: ::c_ulong,
12
+ pub uc_link: *mut ucontext_t,
13
+ pub uc_stack: ::stack_t,
14
+ pub uc_sigmask: ::sigset_t,
15
+ pub uc_mcontext: mcontext_t,
16
+ }
17
18
+ #[repr(align(16))]
19
+ pub struct mcontext_t {
20
+ // What we want here is a single [u64; 36 + 512], but splitting things
21
+ // up allows Debug to be auto-derived.
22
+ __regs1: [[u64; 18]; 2], // 36
23
+ __regs2: [[u64; 32]; 16], // 512
24
25
+}
0 commit comments