Skip to content

Commit ce1e4d2

Browse files
Enable math module for all "none" os targets
This was initially a bugfix that fixed gating math module for riscv32, but conclusiion is it makes no sense to gate on target architecture.
1 parent c37f1fb commit ce1e4d2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/lib.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,8 @@ pub mod int;
4545

4646
#[cfg(any(
4747
all(target_family = "wasm", target_os = "unknown"),
48-
all(target_arch = "x86_64", target_os = "none"),
4948
target_os = "uefi",
50-
all(target_arch = "arm", target_os = "none"),
51-
all(target_arch = "xtensa", target_os = "none"),
52-
all(target_arch = "mips", target_os = "none"),
49+
target_os = "none",
5350
target_os = "xous",
5451
all(target_vendor = "fortanix", target_env = "sgx"),
5552
target_os = "windows"

0 commit comments

Comments
 (0)