Increase memory limit for language wasm files

This commit is contained in:
Max Brunsfeld 2019-04-27 17:54:00 -07:00
parent e388311fb5
commit 8315a6277b

View file

@ -52,6 +52,8 @@ pub fn compile_language_to_wasm(language_dir: &Path) -> Result<()> {
"-s",
"SIDE_MODULE=1",
"-s",
"TOTAL_MEMORY=33554432",
"-s",
&format!("EXPORTED_FUNCTIONS=[\"_tree_sitter_{}\"]", grammar.name),
"-I",
"src",