File tree Expand file tree Collapse file tree 1 file changed +3
-24
lines changed Expand file tree Collapse file tree 1 file changed +3
-24
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,7 @@ pub type c_double = f64;
20
20
cfg_if ! {
21
21
if #[ cfg( all(
22
22
not( windows) ,
23
- // FIXME(ctest): just use `target_vendor` = "apple"` once `ctest` supports it
24
- not( any(
25
- target_os = "macos" ,
26
- target_os = "ios" ,
27
- target_os = "tvos" ,
28
- target_os = "watchos" ,
29
- target_os = "visionos" ,
30
- ) ) ,
23
+ not( target_vendor = "apple" ) ,
31
24
not( target_os = "vita" ) ,
32
25
any(
33
26
target_arch = "aarch64" ,
@@ -91,13 +84,7 @@ pub type uint64_t = u64;
91
84
cfg_if ! {
92
85
if #[ cfg( all(
93
86
target_arch = "aarch64" ,
94
- not( any(
95
- target_os = "windows" ,
96
- target_os = "macos" ,
97
- target_os = "ios" ,
98
- target_os = "tvos" ,
99
- target_os = "watchos"
100
- ) )
87
+ not( any( target_os = "windows" , target_vendor = "apple" ) )
101
88
) ) ] {
102
89
/// C `__int128` (a GCC extension that's part of many ABIs)
103
90
pub type __int128 = i128 ;
@@ -107,15 +94,7 @@ cfg_if! {
107
94
pub type __int128_t = i128 ;
108
95
/// C __uint128_t (alternate name for [__uint128][])
109
96
pub type __uint128_t = u128 ;
110
- } else if #[ cfg( all(
111
- target_arch = "aarch64" ,
112
- any(
113
- target_os = "macos" ,
114
- target_os = "ios" ,
115
- target_os = "tvos" ,
116
- target_os = "watchos"
117
- )
118
- ) ) ] {
97
+ } else if #[ cfg( all( target_arch = "aarch64" , target_vendor = "apple" ) ) ] {
119
98
/// C `__int128_t`
120
99
pub type __int128_t = i128 ;
121
100
/// C `__uint128_t`
You can’t perform that action at this time.
0 commit comments