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:
Amjad Alsharafi 2024-04-15 19:14:41 +08:00 committed by Amanieu d'Antras
parent 6c10d7f035
commit 2ce9bc0cc1

View file

@ -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;