File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ pub mod int;
4747 all( target_arch = "x86_64" , target_os = "none" ) ,
4848 all( target_arch = "x86_64" , target_os = "uefi" ) ,
4949 all( target_arch = "arm" , target_os = "none" ) ,
50+ all( target_arch = "xtensa" , target_os = "none" ) ,
5051 target_os = "xous" ,
5152 all( target_vendor = "fortanix" , target_env = "sgx" )
5253) ) ]
Original file line number Diff line number Diff line change @@ -86,14 +86,19 @@ no_mangle! {
8686 fn tanf( n: f32 ) -> f32 ;
8787}
8888
89- #[ cfg( any( target_os = "xous" , target_os = "uefi" ) ) ]
89+ #[ cfg( any(
90+ target_os = "xous" ,
91+ target_os = "uefi" ,
92+ all( target_arch = "xtensa" , target_os = "none" ) ,
93+ ) ) ]
9094no_mangle ! {
9195 fn sqrtf( x: f32 ) -> f32 ;
9296 fn sqrt( x: f64 ) -> f64 ;
9397}
9498
9599#[ cfg( any(
96100 all( target_vendor = "fortanix" , target_env = "sgx" ) ,
101+ all( target_arch = "xtensa" , target_os = "none" ) ,
97102 target_os = "xous" ,
98103 target_os = "uefi"
99104) ) ]
You can’t perform that action at this time.
0 commit comments