Skip to content

Commit a09b363

Browse files
committed
Re-enable math module on i686-unknown-uefi
In 9ba77d1, this was disabled for x86 without sse2. It should be fine to re-enable it for UEFI, as explained at <rust-lang/rust#128533 (comment)>.
1 parent b32fa78 commit a09b363

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ pub mod int;
4444
// Disable for any of the following:
4545
// - x86 without sse2 due to ABI issues
4646
// - <https://github.com/rust-lang/rust/issues/114479>
47+
// - but re-enable for UEFI
48+
// - <https://github.com/rust-lang/rust/issues/128533>
4749
// - All unix targets (linux, macos, freebsd, android, etc)
4850
// - wasm with known target_os
4951
#[cfg(not(any(
50-
all(target_arch = "x86", not(target_feature = "sse2")),
52+
all(target_arch = "x86", not(target_feature = "sse2"), not(target_os = "uefi")),
5153
unix,
5254
all(target_family = "wasm", not(target_os = "unknown"))
5355
)))]

0 commit comments

Comments
 (0)