Merge pull request #3181 from tree-sitter/handle-wasm-oom
When loading languages via WASM, gracefully handle memory errors and leaks in external scanners
This commit is contained in:
commit
09b18fad5b
13 changed files with 1895 additions and 2463 deletions
|
|
@ -67,6 +67,7 @@ pub fn compile_language_to_wasm(
|
|||
"__cxa_atexit",
|
||||
"abort",
|
||||
"emscripten_notify_memory_growth",
|
||||
"tree_sitter_debug_message",
|
||||
"proc_exit",
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue