about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-26 06:58:04 +0000
committerbors <bors@rust-lang.org>2021-01-26 06:58:04 +0000
commitbe0125bed4fe4ca1fd69870db36062a6aa5a5b5f (patch)
treeef47e766b6fb1f308936b48af1437f673c73951b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent8d57cee9ca0139110fb1da4199aed64ced41f4a3 (diff)
parent5b6a18362be15a693e202a592f4ae6bc4b2844f2 (diff)
downloadrust-be0125bed4fe4ca1fd69870db36062a6aa5a5b5f.tar.gz
rust-be0125bed4fe4ca1fd69870db36062a6aa5a5b5f.zip
Auto merge of #6469 - matthiaskrgr:clippy_dev_crater, r=flip1995
add "cargo dev crater" to run clippy on a fixed set of crates and diff the lint warnings

`cargo dev crater` now does the following:
build clippy in debug mode
for a fixed set of crates:
 download and extract the crate
 run compiled clippy on the crate
 dump the warnings into a file that is inside the repo

We can then do a "git diff" and see what effects our clippy changes had on a tiny fraction of the rust ecosystem and can see when an change unexpectedly added or silenced a lot of warnings.

Checking all the crates took less than 5 minutes on my system.

Should help with https://github.com/rust-lang/rust-clippy/issues/6429

---

*Please write a short comment explaining your change (or "none" for internal only changes)*
changelog: extend cargo dev to run clippy against a fixed set of crates and compare warnings
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions