Skip to content

Commit

Permalink
add wasm32-unknown-unknown target to rust
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Mart committed Feb 21, 2024
1 parent 0adb578 commit 6401b55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker/ubuntu-2004-builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ RUN cd /root \
&& curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs \
&& chmod 700 rustup.sh \
&& ./rustup.sh -y --no-modify-path \
&& /opt/cargo/bin/rustup target add wasm32-wasi \
&& /opt/cargo/bin/rustup target add \
wasm32-unknown-unknown \
wasm32-wasi \
&& /opt/cargo/bin/cargo install \
cargo-component \
mdbook \
Expand Down
4 changes: 3 additions & 1 deletion docker/ubuntu-2204-builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ RUN cd /root \
&& curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs \
&& chmod 700 rustup.sh \
&& ./rustup.sh -y --no-modify-path \
&& /opt/cargo/bin/rustup target add wasm32-wasi \
&& /opt/cargo/bin/rustup target add \
wasm32-unknown-unknown \
wasm32-wasi \
&& /opt/cargo/bin/cargo install \
cargo-component \
mdbook \
Expand Down

0 comments on commit 6401b55

Please sign in to comment.