Skip to content

Commit 4d105c9

Browse files
Amjad50Amanieu
authored andcommitted
Do not include math intrinsics for windows and apple targets
1 parent 018616e commit 4d105c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/math.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ macro_rules! no_mangle {
1616
}
1717
}
1818

19+
#[cfg(all(not(windows), not(target_vendor = "apple")))]
1920
no_mangle! {
2021
fn acos(x: f64) -> f64;
2122
fn asin(x: f64) -> f64;

0 commit comments

Comments
 (0)