diff options
| author | bors <bors@rust-lang.org> | 2021-03-08 13:18:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-08 13:18:39 +0000 |
| commit | d0d5232c72d58db6121479f22fa6b7569003f728 (patch) | |
| tree | 1cbf4aa81e7230d284c05e5356a1f7231d1c4fd2 /src/test/debuginfo/enum-thinlto.rs | |
| parent | e6c643f39939188decc2ab0c52478a7c44c2cf1f (diff) | |
| parent | 3cd5f44ec463fa0c9376ad7e3d7b8e19e662bd8c (diff) | |
| download | rust-d0d5232c72d58db6121479f22fa6b7569003f728.tar.gz rust-d0d5232c72d58db6121479f22fa6b7569003f728.zip | |
Auto merge of #6834 - hyd-dev:clippy-args, r=phansch,flip1995,oli-obk
Let Cargo track CLIPPY_ARGS
This PR makes `clippy-driver` emit `CLIPPY_ARGS` in its `dep-info` output.
Just like #6441, this allows this workflow to work:
```shell
cargo clippy # warning: empty `loop {}` wastes CPU cycles
cargo clippy -- -A clippy::empty_loop # no warnings emitted
```
But without rebuilding all dependencies.
cc https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/CLIPPY_ARGS.20is.20not.20tracked.20by.20Cargo/near/228599088
changelog: Cargo now re-runs Clippy if arguments after `--` provided to `cargo clippy` are changed.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
