From 0d182705206e5feb4c03b405f06e688fedc0671e Mon Sep 17 00:00:00 2001 From: Amjad Alsharafi <26300843+Amjad50@users.noreply.github.com> Date: Sun, 31 Mar 2024 13:53:15 +0300 Subject: [PATCH] Do not include math intrinsics for windows and apple targets --- src/math.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/math.rs b/src/math.rs index b04b0b66a..593a1a19c 100644 --- a/src/math.rs +++ b/src/math.rs @@ -16,6 +16,7 @@ macro_rules! no_mangle { } } +#[cfg(all(not(windows), not(target_vendor = "apple")))] no_mangle! { fn acos(x: f64) -> f64; fn asin(x: f64) -> f64;