File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ pub mod int;
47
47
all( target_arch = "x86_64" , target_os = "none" ) ,
48
48
all( target_arch = "x86_64" , target_os = "uefi" ) ,
49
49
all( target_arch = "arm" , target_os = "none" ) ,
50
+ all( target_arch = "xtensa" , target_os = "none" ) ,
50
51
target_os = "xous" ,
51
52
all( target_vendor = "fortanix" , target_env = "sgx" )
52
53
) ) ]
Original file line number Diff line number Diff line change @@ -86,14 +86,19 @@ no_mangle! {
86
86
fn tanf( n: f32 ) -> f32 ;
87
87
}
88
88
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
+ ) ) ]
90
94
no_mangle ! {
91
95
fn sqrtf( x: f32 ) -> f32 ;
92
96
fn sqrt( x: f64 ) -> f64 ;
93
97
}
94
98
95
99
#[ cfg( any(
96
100
all( target_vendor = "fortanix" , target_env = "sgx" ) ,
101
+ all( target_arch = "xtensa" , target_os = "none" ) ,
97
102
target_os = "xous" ,
98
103
target_os = "uefi"
99
104
) ) ]
You can’t perform that action at this time.
0 commit comments