Merge pull request #387 from paulyoung/patch-1

Prevent web-tree-sitter from swallowing errors
This commit is contained in:
Max Brunsfeld 2019-07-10 09:51:03 -05:00 committed by GitHub
commit b44fe992ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",