Skip to content

Commit

Permalink
Merge pull request #2845 from musaprg/install-nightly-for-linter-in-d…
Browse files Browse the repository at this point in the history
…evcontainer

Install nightly for running linter inside devcontainer
  • Loading branch information
YJDoc2 authored Jul 9, 2024
2 parents aaa1590 + 61d1535 commit a239031
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ COPY <<EOF /etc/docker/daemon.json
EOF

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
# nightly build is required for `cargo fmt` as `rustfmt.toml` uses unstable features.
RUN rustup install nightly
RUN rustup component add rustfmt
RUN rustup component add clippy

0 comments on commit a239031

Please sign in to comment.