Use new emscripten when building with docker

This commit is contained in:
Max Brunsfeld 2020-11-30 16:25:01 -08:00
parent b118e7d750
commit 751ffd2ee1
3 changed files with 13 additions and 7 deletions

View file

@ -57,7 +57,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(&["trzeci/emscripten-slim", "emcc"]);
command.args(&["emscripten/emsdk", "emcc"]);
} else {
return Error::err(
"You must have either emcc or docker on your PATH to run this command".to_string(),