Skip to content

Commit e385d17

Browse files
committed
Hack around to allow auto-derive of Debug
1 parent 98c1e07 commit e385d17

File tree

1 file changed

+4
-3
lines changed
  • src/unix/linux_like/linux/musl/b64/aarch64

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ s_no_extra_traits! {
44
pub struct max_align_t {
55
priv_: [f32; 8]
66
}
7+
}
78

8-
#[allow(missing_debug_implementations)]
9+
s!{
910
pub struct ucontext_t {
1011
pub uc_flags: ::c_ulong,
1112
pub uc_link: *mut ucontext_t,
@@ -14,9 +15,9 @@ s_no_extra_traits! {
1415
pub uc_mcontext: mcontext_t,
1516
}
1617

17-
#[allow(missing_debug_implementations)]
1818
#[repr(align(16))]
1919
pub struct mcontext_t {
20-
__regs: [u64; 36 + 512],
20+
__regs1: [[u64; 18]; 2], // 36
21+
__regs2: [[u64; 32]; 16], // 512
2122
}
2223
}

0 commit comments

Comments
 (0)