From df4553c046c435d3ccfb5b396047d40a0d3f157c Mon Sep 17 00:00:00 2001 From: Daniel Jacobs Date: Mon, 2 Dec 2024 12:07:50 -0500 Subject: [PATCH] web: Add envvar to pin the nightly Rust version when building dual-wasm --- web/packages/core/tools/build_wasm.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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",