Skip to content

Commit 2cbde5b

Browse files
authored
Merge pull request #594 from Amjad50/fix_libm_weak_link
Fix math libraries not being linked on some platforms
2 parents 40e9b37 + dd85395 commit 2cbde5b

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
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

src/math.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#[allow(dead_code)]
2+
#[allow(unused_imports)]
3+
#[allow(clippy::all)]
24
#[path = "../libm/src/math/mod.rs"]
35
mod libm;
46

0 commit comments

Comments
 (0)