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 @@ -48,6 +48,7 @@ pub mod int;
4848 all( target_arch = "x86_64" , target_os = "uefi" ) ,
4949 all( target_arch = "arm" , target_os = "none" ) ,
5050 all( target_arch = "xtensa" , target_os = "none" ) ,
51+ all( target_arch = "mips" , target_os = "none" ) ,
5152 target_os = "xous" ,
5253 all( target_vendor = "fortanix" , target_env = "sgx" )
5354) ) ]
Original file line number Diff line number Diff line change @@ -136,11 +136,12 @@ no_mangle! {
136136 fn truncf( x: f32 ) -> f32 ;
137137}
138138
139- // only for the thumb*-none-eabi*, riscv32*-none-elf and x86_64 -unknown-none targets that lack the floating point instruction set
139+ // 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
140140#[ cfg( any(
141141 all( target_arch = "arm" , target_os = "none" ) ,
142142 all( target_arch = "riscv32" , not( target_feature = "f" ) , target_os = "none" ) ,
143- all( target_arch = "x86_64" , target_os = "none" )
143+ all( target_arch = "x86_64" , target_os = "none" ) ,
144+ all( target_arch = "mips" , target_os = "none" ) ,
144145) ) ]
145146no_mangle ! {
146147 fn fmin( x: f64 , y: f64 ) -> f64 ;
You can’t perform that action at this time.
0 commit comments