Run sdk-c through clippy separately (#5504)

This commit is contained in:
TristanDebrunner
2019-08-12 16:41:17 -06:00
committed by GitHub
parent b7a5136136
commit 687818aad6
3 changed files with 38 additions and 1 deletions

View File

@@ -11,8 +11,13 @@ export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
_ cargo +"$rust_stable" fmt --all -- --check
# Clippy gets stuck for unknown reasons if sdk-c is included in the build, so check it separately.
# See https://github.com/solana-labs/solana/issues/5503
_ cargo +"$rust_stable" clippy --version
_ cargo +"$rust_stable" clippy --all -- --deny=warnings
_ cargo +"$rust_stable" clippy --all --exclude solana-sdk-c -- --deny=warnings
_ cargo +"$rust_stable" clippy --manifest-path sdk-c/Cargo.toml -- --deny=warnings
_ cargo +"$rust_stable" audit --version
_ cargo +"$rust_stable" audit
_ ci/nits.sh