Skip to content

Commit ad3722f

Browse files
authored
[skip ci] Fix wasm exception flag (#16683)
This PR fixes the wasm exceptions flag in emcc compile export.
1 parent a0f57a0 commit ad3722f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tvm/contrib/emcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def create_tvmjs_wasm(output, objects, options=None, cc="emcc"):
4242
cmd += ["-O3"]
4343
cmd += ["-std=c++17"]
4444
cmd += ["--no-entry"]
45-
cmd += ["-fwasm-exception"]
45+
cmd += ["-fwasm-exceptions"]
4646
cmd += ["-s", "WASM_BIGINT=1"]
4747
cmd += ["-s", "ERROR_ON_UNDEFINED_SYMBOLS=0"]
4848
cmd += ["-s", "STANDALONE_WASM=1"]

0 commit comments

Comments
 (0)