Skip to content

Commit

Permalink
Do not include math intrinsics for windows and apple targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Amjad50 authored and Amanieu committed Apr 10, 2024
1 parent 018616e commit 4d105c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4d105c9

Please sign in to comment.