We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fefbbff commit 5d6e20dCopy full SHA for 5d6e20d
src/math.rs
@@ -20,7 +20,8 @@ macro_rules! no_mangle {
20
target_os = "unknown",
21
not(target_env = "wasi")
22
),
23
- all(target_vendor = "fortanix", target_env = "sgx")
+ all(target_vendor = "fortanix", target_env = "sgx"),
24
+ all(target_arch = "xtensa", target_os = "none")
25
))]
26
no_mangle! {
27
fn acos(x: f64) -> f64;
@@ -79,7 +80,10 @@ no_mangle! {
79
80
fn ldexpf(f: f32, n: i32) -> f32;
81
}
82
-#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]
83
+#[cfg(any(
84
85
86
+))]
87
88
fn ceil(x: f64) -> f64;
89
fn ceilf(x: f32) -> f32;
0 commit comments