Skip to content

Commit

Permalink
Merge pull request #715 from YtvwlD/math-i686-uefi
Browse files Browse the repository at this point in the history
Re-enable math module on i686-unknown-uefi
  • Loading branch information
tgross35 authored Oct 23, 2024
2 parents b32fa78 + 3dbc1ee commit 16c58e4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,16 @@ pub mod int;
// Disable for any of the following:
// - x86 without sse2 due to ABI issues
// - <https://github.com/rust-lang/rust/issues/114479>
// - but exclude UEFI since it is a soft-float target
// - <https://github.com/rust-lang/rust/issues/128533>
// - All unix targets (linux, macos, freebsd, android, etc)
// - wasm with known target_os
#[cfg(not(any(
all(target_arch = "x86", not(target_feature = "sse2")),
all(
target_arch = "x86",
not(target_feature = "sse2"),
not(target_os = "uefi"),
),
unix,
all(target_family = "wasm", not(target_os = "unknown"))
)))]
Expand Down

0 comments on commit 16c58e4

Please sign in to comment.