Skip to content

Commit

Permalink
web: Add envvar to pin the nightly Rust version when building dual-wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhjacobs committed Dec 2, 2024
1 parent cf0395f commit df4553c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/packages/core/tools/build_wasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit df4553c

Please sign in to comment.