We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f26757a commit 0b86101Copy full SHA for 0b86101
src/unix/linux_like/linux/musl/b64/aarch64/align.rs
@@ -6,7 +6,7 @@ s_no_extra_traits! {
6
}
7
8
9
-s!{
+s! {
10
pub struct ucontext_t {
11
pub uc_flags: ::c_ulong,
12
pub uc_link: *mut ucontext_t,
@@ -17,9 +17,11 @@ s!{
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
+ pub fault_address: ::c_ulong,
+ pub regs: [::c_ulong; 31],
+ pub sp: ::c_ulong,
+ pub pc: ::c_ulong,
24
+ pub pstate: ::c_ulong,
25
+ __reserved: [[u64; 32]; 16],
26
27
0 commit comments