Fix math libraries not being linked on some platforms
This is a continuation/fix of 018616e. In that commit, we made it add the math functions to all platforms (except apple-targets and windows), and use `weak` linking, so that it can be used if the system doesn't have those functions. Didn't notice `mod math` was behind another set of `cfg`, so removed it as well here.
This commit is contained in:
parent
6c10d7f035
commit
2ce9bc0cc1
1 changed files with 0 additions and 8 deletions
|
|
@ -45,14 +45,6 @@ mod macros;
|
|||
pub mod float;
|
||||
pub mod int;
|
||||
|
||||
#[cfg(any(
|
||||
all(target_family = "wasm", target_os = "unknown"),
|
||||
target_os = "uefi",
|
||||
target_os = "none",
|
||||
target_os = "xous",
|
||||
all(target_vendor = "fortanix", target_env = "sgx"),
|
||||
target_os = "windows"
|
||||
))]
|
||||
pub mod math;
|
||||
pub mod mem;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue