diff --git a/web/packages/core/tools/build_wasm.ts b/web/packages/core/tools/build_wasm.ts index bb70c03d0e9b..4ffcef2e7199 100644 --- a/web/packages/core/tools/build_wasm.ts +++ b/web/packages/core/tools/build_wasm.ts @@ -52,7 +52,9 @@ function cargoBuild({ let args = !extensions && process.env["BUILD_WASM_MVP"] ? [ - "+nightly", + process.env["NIGHTLY_VERSION"] + ? `+nightly-${process.env["NIGHTLY_VERSION"]}` + : "+nightly", "build", "--locked", "-Z",