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 committed Mar 31, 2024
1 parent 3f65b14 commit 0d18270
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 0d18270

Please sign in to comment.