Merge pull request #387 from paulyoung/patch-1
Prevent web-tree-sitter from swallowing errors
This commit is contained in:
commit
b44fe992ae
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