Skip to content

Commit

Permalink
modify clippy script
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger committed Mar 26, 2024
1 parent fc8a871 commit 61edb80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/clippy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# Install Cargo Clippy for the specified toolchain
rustup component add clippy --toolchain 1.76.0-x86_64-unknown-linux-gnu

run_clippy() {
cargo clippy --all-targets "$@" -- -D warnings -D future-incompatible -D nonstandard-style -D rust-2018-idioms -D unused
}
Expand Down

0 comments on commit 61edb80

Please sign in to comment.