Skip to content

Commit a3582a8

Browse files
committed
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.
1 parent 7240849 commit a3582a8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/lib.rs

-8
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ mod macros;
4545
pub mod float;
4646
pub mod int;
4747

48-
#[cfg(any(
49-
all(target_family = "wasm", target_os = "unknown"),
50-
target_os = "uefi",
51-
target_os = "none",
52-
target_os = "xous",
53-
all(target_vendor = "fortanix", target_env = "sgx"),
54-
target_os = "windows"
55-
))]
5648
pub mod math;
5749
pub mod mem;
5850

0 commit comments

Comments
 (0)