diff --git a/check-clippy.sh b/check-clippy.sh deleted file mode 100755 index 072069cb9b..0000000000 --- a/check-clippy.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -set -euo pipefail - -# Usage: check-clippy.sh - -if cargo install --list | tee /dev/null | grep -q "^clippy v0"; then - exit 0 -else - exit 1 -fi diff --git a/clippy-all.sh b/clippy-all.sh deleted file mode 100755 index ba840b1d00..0000000000 --- a/clippy-all.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -set -euo pipefail - -# Check all sources with clippy. -# In the clif-util crate (root dir) clippy will only work with nightly cargo - -# there is a bug where it will reject the commands passed to it by cargo 0.25.0 -exec cargo +nightly clippy --all diff --git a/cranelift/test-all.sh b/cranelift/test-all.sh index 83db4528ec..46a985a4e7 100755 --- a/cranelift/test-all.sh +++ b/cranelift/test-all.sh @@ -9,7 +9,7 @@ set -euo pipefail # - Make a release build. # - Run unit tests for all Rust crates (including the filetests) # - Build API documentation. -# - Optionally, run clippy and fuzzing. +# - Optionally, run fuzzing. # # All tests run by this script should be passing at all times. @@ -70,14 +70,6 @@ cargo test --all banner "Rust documentation: $topdir/target/doc/cranelift/index.html" cargo doc -# Run clippy if we have it. -banner "Rust linter" -if "$topdir/check-clippy.sh"; then - "$topdir/clippy-all.sh" -else - echo "\`cargo +nightly install clippy\` for optional rust linting" -fi - # Ensure fuzzer works by running it with a single input # Note LSAN is disabled due to https://github.com/google/sanitizers/issues/764 banner "cargo fuzz check"