feat: use compileStreaming when loading wasm parsers

This commit is contained in:
Boris Verkhovskiy 2025-09-01 20:08:20 -06:00 committed by GitHub
parent b75196bb81
commit 9b23cd5394
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 30 additions and 27 deletions

View file

@ -1042,7 +1042,7 @@ impl Loader {
output_name,
"-fPIC",
"-shared",
"-Os",
if self.debug_build { "-g" } else { "-Os" },
format!("-Wl,--export=tree_sitter_{language_name}").as_str(),
"-Wl,--allow-undefined",
"-Wl,--no-entry",