Skip to content

Commit 111e8a1

Browse files
committed
Try fixing WASM builds
1 parent 2fed789 commit 111e8a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib-rt/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ def run(self) -> None:
8484
cflags += ["-O3"]
8585
if X86_64:
8686
cflags.append("-msse4.2") # Enable SIMD (see also mypyc/build.py)
87+
if platform.system() == 'Emscripten':
88+
cflags.append("-msimd128")
8789
elif compiler.compiler_type == "msvc":
8890
cflags += ["/O2"]
8991
if X86_64:

0 commit comments

Comments
 (0)