Skip to content

Commit 3216151

Browse files
committed
Makefile/setup-wasm: install nightly as part of the target setup-wasm
1 parent f06e92f commit 3216151

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ setup-wasm: ## Setup the WebAssembly toolchain, using nightly
260260
*) echo "Unsupported architecture: $$ARCH" && exit 1 ;; \
261261
esac; \
262262
TARGET="$$ARCH_PART-$$OS_PART"; \
263+
echo "Installing nightly toolchain: ${NIGHTLY_RUST_VERSION}-$$TARGET"; \
264+
rustup toolchain install ${NIGHTLY_RUST_VERSION}-$$TARGET; \
263265
echo "Installing components for ${NIGHTLY_RUST_VERSION}-$$TARGET with wasm32 target"; \
264266
rustup component add rust-src --toolchain ${NIGHTLY_RUST_VERSION}-$$TARGET; \
265267
rustup component add rustfmt --toolchain ${NIGHTLY_RUST_VERSION}-$$TARGET; \

0 commit comments

Comments
 (0)