Skip to content

Commit 7607343

Browse files
authored
Merge pull request #628 from tgross35/libm-sse-fix
Disable libm on x86 without sse2
2 parents c04eb9e + 9ba77d1 commit 7607343

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ mod macros;
4747
pub mod float;
4848
pub mod int;
4949

50+
// Disabled on x86 without sse2 due to ABI issues
51+
// <https://github.com/rust-lang/rust/issues/114479>
52+
#[cfg(not(all(target_arch = "x86", not(target_feature = "sse2"))))]
5053
pub mod math;
5154
pub mod mem;
5255

0 commit comments

Comments
 (0)