@@ -23,7 +23,7 @@ macro_rules! no_mangle {
23
23
) ,
24
24
target_os = "xous" ,
25
25
target_os = "uefi" ,
26
- all ( target_arch = "xtensa" , target_os = "none" ) ,
26
+ target_os = "none" ,
27
27
all( target_vendor = "fortanix" , target_env = "sgx" )
28
28
) ) ]
29
29
no_mangle ! {
@@ -95,7 +95,7 @@ no_mangle! {
95
95
) ,
96
96
target_os = "xous" ,
97
97
target_os = "uefi" ,
98
- all ( target_arch = "xtensa" , target_os = "none" ) ,
98
+ target_os = "none" ,
99
99
all( target_vendor = "fortanix" , target_env = "sgx" ) ,
100
100
target_os = "windows"
101
101
) ) ]
@@ -116,7 +116,7 @@ intrinsics! {
116
116
#[ cfg( any(
117
117
target_os = "xous" ,
118
118
target_os = "uefi" ,
119
- all ( target_arch = "xtensa" , target_os = "none" ) ,
119
+ target_os = "none" ,
120
120
) ) ]
121
121
no_mangle ! {
122
122
fn sqrtf( x: f32 ) -> f32 ;
@@ -125,7 +125,7 @@ no_mangle! {
125
125
126
126
#[ cfg( any(
127
127
all( target_vendor = "fortanix" , target_env = "sgx" ) ,
128
- all ( target_arch = "xtensa" , target_os = "none" ) ,
128
+ target_os = "none" ,
129
129
target_os = "xous" ,
130
130
target_os = "uefi"
131
131
) ) ]
@@ -138,12 +138,8 @@ no_mangle! {
138
138
fn truncf( x: f32 ) -> f32 ;
139
139
}
140
140
141
- // only for the thumb*-none-eabi*, riscv32*-none-elf, x86_64-unknown-none and mips*-unknown-none targets that lack the floating point instruction set
142
141
#[ cfg( any(
143
- all( target_arch = "arm" , target_os = "none" ) ,
144
- all( target_arch = "riscv32" , not( target_feature = "f" ) , target_os = "none" ) ,
145
- all( target_arch = "x86_64" , target_os = "none" ) ,
146
- all( target_arch = "mips" , target_os = "none" ) ,
142
+ all( target_os = "none" ) ,
147
143
) ) ]
148
144
no_mangle ! {
149
145
fn fmin( x: f64 , y: f64 ) -> f64 ;
0 commit comments