Skip to content

Commit

Permalink
Enable math module for all "none" os targets
Browse files Browse the repository at this point in the history
This was initially a bugfix that fixed gating math module for riscv32,
but conclusiion is it makes no sense to gate on target architecture.
  • Loading branch information
mchodzikiewicz committed Oct 31, 2023
1 parent c37f1fb commit ce1e4d2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@ pub mod int;

#[cfg(any(
all(target_family = "wasm", target_os = "unknown"),
all(target_arch = "x86_64", target_os = "none"),
target_os = "uefi",
all(target_arch = "arm", target_os = "none"),
all(target_arch = "xtensa", target_os = "none"),
all(target_arch = "mips", target_os = "none"),
target_os = "none",
target_os = "xous",
all(target_vendor = "fortanix", target_env = "sgx"),
target_os = "windows"
Expand Down

0 comments on commit ce1e4d2

Please sign in to comment.