We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3cd73f9 + 81b22d4 commit 0c4f836Copy full SHA for 0c4f836
src/math.rs
@@ -72,6 +72,7 @@ no_mangle! {
72
not(target_env = "wasi")
73
),
74
target_os = "xous",
75
+ all(target_arch = "x86_64", target_os = "uefi"),
76
all(target_arch = "xtensa", target_os = "none"),
77
all(target_vendor = "fortanix", target_env = "sgx")
78
))]
@@ -95,15 +96,16 @@ no_mangle! {
95
96
fn tanf(n: f32) -> f32;
97
}
98
-#[cfg(target_os = "xous")]
99
+#[cfg(any(target_os = "xous", target_os = "uefi"))]
100
no_mangle! {
101
fn sqrtf(x: f32) -> f32;
102
fn sqrt(x: f64) -> f64;
103
104
105
#[cfg(any(
106
all(target_vendor = "fortanix", target_env = "sgx"),
- target_os = "xous"
107
+ target_os = "xous",
108
+ target_os = "uefi"
109
110
111
fn ceil(x: f64) -> f64;
0 commit comments