Skip to content

Commit

Permalink
In Dockerfile allow installing a non-native rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Mar 4, 2025
1 parent f436763 commit 5964bb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
export RUST_PLATFORM=x86_64; \
else \
export RUST_PLATFORM=aarch64; \
fi; $HOME/.cargo/bin/rustup toolchain install "${RUST_STABLE_VERSION}-${RUST_PLATFORM}-unknown-linux-gnu" --profile minimal \
fi; $HOME/.cargo/bin/rustup toolchain install "${RUST_STABLE_VERSION}-${RUST_PLATFORM}-unknown-linux-gnu" \
--profile minimal --force-non-host \
&& $HOME/.cargo/bin/rustup component add rust-src rustfmt clippy \
&& $HOME/.cargo/bin/rustup target add wasm32-unknown-unknown

Expand Down

0 comments on commit 5964bb6

Please sign in to comment.