Pin emscripten/emsdk Docker version

Fixes issues caused by incompatible changes in Emscripten since the
time that tree-sitter was built.
This commit is contained in:
Vladimir Panteleev 2021-06-18 11:04:18 +00:00
parent d7746bec99
commit 725f3f7f2b
No known key found for this signature in database
GPG key ID: 5004F0FAD051576D
3 changed files with 7 additions and 7 deletions

View file

@ -61,7 +61,7 @@ pub fn compile_language_to_wasm(language_dir: &Path, force_docker: bool) -> Resu
}
// Run `emcc` in a container using the `emscripten-slim` image
command.args(&["emscripten/emsdk", "emcc"]);
command.args(&["emscripten/emsdk:2.0.11", "emcc"]);
} else {
return Err(anyhow!(
"You must have either emcc or docker on your PATH to run this command"