Skip to content

Commit 9cfd710

Browse files
committed
Add ucontext_t for aarch64-unknown-linux-musl
1 parent 83b3730 commit 9cfd710

File tree

1 file changed

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

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,17 @@ s_no_extra_traits! {
55
priv_: [f32; 8]
66
}
77
}
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+
pub struct mcontext_t {
19+
__regs: [u64; 36 + 512],
20+
}
21+
}

0 commit comments

Comments
 (0)