This repository was archived by the owner on Nov 4, 2024. It is now read-only.
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,14 @@ LABEL summary="Image for Substrate-based projects." \
22
22
RUN set -eux && \
23
23
# install `rust-src` component for ui test
24
24
rustup component add rust-src rustfmt clippy && \
25
+ # install wasm target into default (stable) toolchain
26
+ rustup target add wasm32-unknown-unknown && \
25
27
# install specific Rust nightly, default is stable, use minimum components
26
28
rustup toolchain install "nightly-${RUST_NIGHTLY}" --profile minimal --component rustfmt && \
29
+ # install wasm target into nightly toolchain
30
+ rustup target add wasm32-unknown-unknown --toolchain "nightly-${RUST_NIGHTLY}" && \
27
31
# "alias" pinned nightly toolchain as nightly
28
32
ln -s "/usr/local/rustup/toolchains/nightly-${RUST_NIGHTLY}-x86_64-unknown-linux-gnu" /usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu && \
29
- # install wasm toolchain
30
- rustup target add wasm32-unknown-unknown && \
31
33
# install cargo tools
32
34
cargo install cargo-web wasm-pack cargo-deny cargo-spellcheck cargo-hack \
33
35
mdbook mdbook-mermaid mdbook-linkcheck mdbook-graphviz mdbook-last-changed && \
You can’t perform that action at this time.
0 commit comments