Merge pull request #241340 from ErinvanderVeen/tree-sitter-emscripten-fix

This commit is contained in:
Artturi 2023-09-15 06:59:33 +03:00 committed by GitHub
commit 014b0d9fba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,8 @@ rustPlatform.buildRustPackage {
# minifying the JavaScript; passing it allows us to side-step more Node
# JS dependencies for installation.
preBuild = lib.optionalString webUISupport ''
mkdir -p .emscriptencache
export EM_CACHE=$(pwd)/.emscriptencache
bash ./script/build-wasm --debug
'';