chore: install clippy and rustfmt in the devcontainer for Linux development (#1374)

I discovered it was difficult to do development in the devcontainer
without these tools available.
This commit is contained in:
Michael Bolin
2025-06-24 17:05:36 -07:00
committed by GitHub
parent 0776d78357
commit 6d65010aad

View File

@@ -22,7 +22,8 @@ USER $USER
# install Rust + musl target as dev user
RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal && \
~/.cargo/bin/rustup target add aarch64-unknown-linux-musl
~/.cargo/bin/rustup target add aarch64-unknown-linux-musl && \
~/.cargo/bin/rustup component add clippy rustfmt
ENV PATH="/home/${USER}/.cargo/bin:${PATH}"