File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ pub mod int;
4444
4545#[ cfg( any(
4646 all( target_family = "wasm" , target_os = "unknown" ) ,
47+ all( target_arch = "x86_64" , target_os = "none" ) ,
4748 all( target_arch = "x86_64" , target_os = "uefi" ) ,
4849 all( target_arch = "arm" , target_os = "none" ) ,
4950 target_os = "xous" ,
Original file line number Diff line number Diff line change @@ -106,10 +106,11 @@ no_mangle! {
106106 fn truncf( x: f32 ) -> f32 ;
107107}
108108
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
110110#[ cfg( any(
111111 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" )
113114) ) ]
114115no_mangle ! {
115116 fn fmin( x: f64 , y: f64 ) -> f64 ;
You can’t perform that action at this time.
0 commit comments