Skip to content

Commit eaa2e17

Browse files
authored
Merge pull request rust-lang#628 from tgross35/libm-sse-fix
Disable libm on x86 without sse2
2 parents 72d172c + e35091a commit eaa2e17

File tree

1 file changed

+3
-0
lines changed
  • library/compiler-builtins/src

1 file changed

+3
-0
lines changed

library/compiler-builtins/src/lib.rs

Lines changed: 3 additions & 0 deletions
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)