Set NODEJS_CATCH_EXIT=0 when invoking emcc
This commit is contained in:
parent
eb0d9af577
commit
98d98ca171
1 changed files with 2 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ pub fn compile_language_to_wasm(language_dir: &Path, force_docker: bool) -> Resu
|
|||
"-s",
|
||||
"TOTAL_MEMORY=33554432",
|
||||
"-s",
|
||||
"NODEJS_CATCH_EXIT=0",
|
||||
"-s",
|
||||
&format!("EXPORTED_FUNCTIONS=[\"_tree_sitter_{}\"]", grammar_name),
|
||||
"-fno-exceptions",
|
||||
"-I",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue