diff --git a/xtask/src/build_wasm.rs b/xtask/src/build_wasm.rs index 43679835..10725277 100644 --- a/xtask/src/build_wasm.rs +++ b/xtask/src/build_wasm.rs @@ -107,7 +107,7 @@ pub fn run_wasm(args: &BuildWasm) -> Result<()> { }; // Run `emcc` in a container using the `emscripten-slim` image - command.args([EMSCRIPTEN_TAG, "emcc"]); + command.args([EMSCRIPTEN_TAG.trim(), "emcc"]); command } };