Increase memory limit for language wasm files
This commit is contained in:
parent
e388311fb5
commit
8315a6277b
1 changed files with 2 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue