We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b795b7b commit 83f1f11Copy full SHA for 83f1f11
src/libcore/mem.rs
@@ -503,7 +503,9 @@ pub fn swap<T>(x: &mut T, y: &mut T) {
503
// that swapping either 32 bytes or 64 bytes at a time is most efficient for intel
504
// Haswell E processors. LLVM is more able to optimize if we give a struct a
505
// #[repr(simd)], even if we don't actually use this struct directly.
506
- #[repr(simd)]
+ //
507
+ // FIXME repr(simd) broken on emscripten
508
+ #[cfg_attr(not(target_os = "emscripten"), repr(simd))]
509
struct Block(u64, u64, u64, u64);
510
struct UnalignedBlock(u64, u64, u64, u64);
511
0 commit comments