Skip to content

Commit

Permalink
Set clippy and wasm32 to default Rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
fishseabowl committed Jan 10, 2024
1 parent 51357fc commit 4a84c3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ca

RUN rustup toolchain install $(cat rust-toolchain.toml | grep channel | cut -d\" -f2) && \
rustup default $(cat rust-toolchain.toml | grep channel | cut -d\" -f2) && \
rustup component add clippy --toolchain $(cat rust-toolchain.toml | grep channel | cut -d\" -f2) && \
rustup component add rustfmt --toolchain $(cat rust-toolchain.toml | grep channel | cut -d\" -f2)
rustup component add clippy && \
rustup component add rustfmt

RUN rustup toolchain install nightly && \
rustup component add rustfmt --toolchain nightly

RUN rustup target add x86_64-pc-windows-msvc && \
rustup target add wasm32-unknown-unknown --toolchain $(cat rust-toolchain.toml | grep channel | cut -d\" -f2)
rustup target add wasm32-unknown-unknown

RUN cargo binstall cargo-get cargo-nextest cargo-llvm-cov cargo-release --secure -y

Expand Down

0 comments on commit 4a84c3d

Please sign in to comment.