Skip to content

Commit

Permalink
[skip ci] Fix wasm exception flag (apache#16683)
Browse files Browse the repository at this point in the history
This PR fixes the wasm exceptions flag in emcc compile export.
  • Loading branch information
tqchen authored and thaisacs committed Apr 3, 2024
1 parent dadcab6 commit 1d068f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/contrib/emcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def create_tvmjs_wasm(output, objects, options=None, cc="emcc"):
cmd += ["-O3"]
cmd += ["-std=c++17"]
cmd += ["--no-entry"]
cmd += ["-fwasm-exception"]
cmd += ["-fwasm-exceptions"]
cmd += ["-s", "WASM_BIGINT=1"]
cmd += ["-s", "ERROR_ON_UNDEFINED_SYMBOLS=0"]
cmd += ["-s", "STANDALONE_WASM=1"]
Expand Down

0 comments on commit 1d068f7

Please sign in to comment.