diff --git a/scripts/clippy.sh b/scripts/clippy.sh index a3ec765c8c..ae65cf051e 100755 --- a/scripts/clippy.sh +++ b/scripts/clippy.sh @@ -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 }