File tree 2 files changed +11
-1
lines changed
src/unix/linux_like/linux/gnu/b64/aarch64
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -3490,7 +3490,9 @@ fn test_linux(target: &str) {
3490
3490
&& ( ( x86_64 || i686 || arm || riscv64) && gnu || x86_64_gnux32)
3491
3491
) ||
3492
3492
// the `u` field is in fact an anonymous union
3493
- ( gnu && struct_ == "ptrace_syscall_info" && ( field == "u" || field == "pad" ) )
3493
+ ( gnu && struct_ == "ptrace_syscall_info" && ( field == "u" || field == "pad" ) ) ||
3494
+ // the vregs field is a `__uint128_t` C's type.
3495
+ ( struct_ == "user_fpsimd_struct" && field == "vregs" )
3494
3496
} ) ;
3495
3497
3496
3498
cfg. skip_roundtrip ( move |s| match s {
Original file line number Diff line number Diff line change 26
26
// auto-derive traits like Debug
27
27
__reserved: [ [ u64 ; 32 ] ; 16 ] ,
28
28
}
29
+
30
+ #[ repr( align( 16 ) ) ]
31
+ pub struct user_fpsimd_struct {
32
+ pub vregs: [ [ u64 ; 2 ] ; 32 ] ,
33
+ pub fpsr: :: c_uint,
34
+ pub fpcr: :: c_uint,
35
+ }
36
+
29
37
}
You can’t perform that action at this time.
0 commit comments