Skip to content

Commit

Permalink
[skip ci] Fix wasm exception flag (#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 Mar 6, 2024
1 parent a0f57a0 commit ad3722f
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 ad3722f

Please sign in to comment.