File tree 8 files changed +26
-42
lines changed
8 files changed +26
-42
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,9 @@ fn test_apple(target: &str) {
318
318
// FIXME: Requires the macOS 14.4 SDK.
319
319
"os_sync_wake_by_address_flags_t" | "os_sync_wait_on_address_flags_t" => true ,
320
320
321
+ // FIXME: "'__uint128' undeclared" in C
322
+ "__uint128" => true ,
323
+
321
324
_ => false ,
322
325
}
323
326
} ) ;
@@ -1798,12 +1801,13 @@ fn test_android(target: &str) {
1798
1801
// These are tested in the `linux_elf.rs` file.
1799
1802
"Elf64_Phdr" | "Elf32_Phdr" => true ,
1800
1803
1801
- // FIXME: Somehow fails to test after removing cfg hacks:
1802
- "__uint128" => true ,
1803
-
1804
1804
// These are intended to be opaque
1805
1805
"posix_spawn_file_actions_t" => true ,
1806
1806
"posix_spawnattr_t" => true ,
1807
+
1808
+ // FIXME: "'__uint128' undeclared" in C
1809
+ "__uint128" => true ,
1810
+
1807
1811
_ => false ,
1808
1812
}
1809
1813
} ) ;
@@ -3659,7 +3663,7 @@ fn test_linux(target: &str) {
3659
3663
"priority_t" if musl => true ,
3660
3664
"name_t" if musl => true ,
3661
3665
3662
- // FIXME: Somehow fails to test after removing cfg hacks:
3666
+ // FIXME: "'__uint128' undeclared" in C
3663
3667
"__uint128" => true ,
3664
3668
3665
3669
t => {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 76
76
// auto-derive traits like Debug
77
77
__reserved: [ [ u64 ; 32 ] ; 16 ] ,
78
78
}
79
+
80
+ pub struct user_fpsimd_struct {
81
+ pub vregs: [ :: __uint128_t; 32 ] ,
82
+ pub fpsr: u32 ,
83
+ pub fpcr: u32 ,
84
+ }
79
85
}
80
86
81
87
s_no_extra_traits ! {
@@ -466,6 +472,3 @@ pub const PROT_MTE: ::c_int = 0x20;
466
472
// From NDK's asm/auxvec.h
467
473
pub const AT_SYSINFO_EHDR : :: c_ulong = 33 ;
468
474
pub const AT_VECTOR_SIZE_ARCH : :: c_ulong = 2 ;
469
-
470
- mod int128;
471
- pub use self :: int128:: * ;
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -217,6 +217,12 @@ s! {
217
217
__reserved: [ [ u64 ; 32 ] ; 16 ] ,
218
218
}
219
219
220
+ pub struct user_fpsimd_struct {
221
+ pub vregs: [ :: __uint128_t; 32 ] ,
222
+ pub fpsr: :: c_uint,
223
+ pub fpcr: :: c_uint,
224
+ }
225
+
220
226
#[ repr( align( 8 ) ) ]
221
227
pub struct clone_args {
222
228
pub flags: :: c_ulonglong,
@@ -964,6 +970,3 @@ cfg_if! {
964
970
pub use self :: lp64:: * ;
965
971
}
966
972
}
967
-
968
- mod int128;
969
- pub use self :: int128:: * ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -101,6 +101,12 @@ s! {
101
101
pub set_tid_size: :: c_ulonglong,
102
102
pub cgroup: :: c_ulonglong,
103
103
}
104
+
105
+ pub struct user_fpsimd_struct {
106
+ pub vregs: [ :: __uint128_t; 32 ] ,
107
+ pub fpsr: u32 ,
108
+ pub fpcr: u32 ,
109
+ }
104
110
}
105
111
106
112
s_no_extra_traits ! {
@@ -686,6 +692,3 @@ pub const VMIN: usize = 6;
686
692
pub const IEXTEN : :: tcflag_t = 0x00008000 ;
687
693
pub const TOSTOP : :: tcflag_t = 0x00000100 ;
688
694
pub const FLUSHO : :: tcflag_t = 0x00001000 ;
689
-
690
- mod int128;
691
- pub use self :: int128:: * ;
You can’t perform that action at this time.
0 commit comments