File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ pub mod int;
44
44
45
45
#[ cfg( any(
46
46
all( target_family = "wasm" , target_os = "unknown" ) ,
47
+ all( target_arch = "x86_64" , target_os = "none" ) ,
47
48
all( target_arch = "x86_64" , target_os = "uefi" ) ,
48
49
all( target_arch = "arm" , target_os = "none" ) ,
49
50
target_os = "xous" ,
Original file line number Diff line number Diff line change @@ -106,10 +106,11 @@ no_mangle! {
106
106
fn truncf( x: f32 ) -> f32 ;
107
107
}
108
108
109
- // only for the thumb*-none-eabi* targets and riscv32*-none-elf targets that lack the floating point instruction set
109
+ // only for the thumb*-none-eabi*, riscv32*-none-elf and x86_64-unknown-none targets that lack the floating point instruction set
110
110
#[ cfg( any(
111
111
all( target_arch = "arm" , target_os = "none" ) ,
112
- all( target_arch = "riscv32" , not( target_feature = "f" ) , target_os = "none" )
112
+ all( target_arch = "riscv32" , not( target_feature = "f" ) , target_os = "none" ) ,
113
+ all( target_arch = "x86_64" , target_os = "none" )
113
114
) ) ]
114
115
no_mangle ! {
115
116
fn fmin( x: f64 , y: f64 ) -> f64 ;
You can’t perform that action at this time.
0 commit comments