]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #7162 - yaahallo:clippyargs, r=ehuss
authorbors <bors@rust-lang.org>
Fri, 9 Aug 2019 22:40:43 +0000 (22:40 +0000)
committerbors <bors@rust-lang.org>
Fri, 9 Aug 2019 22:40:43 +0000 (22:40 +0000)
reimplement arg passthrough for clippy-driver

Prior to this change, the old cargo subcommand version of `cargo clippy`
had a feature to pass trailing args down to clippy-driver but when this
the subcommand was reimplemented inside of cargo this feature was left
out accidentally.

This change readds the feature to to capture all args after a trailing
-- and forward them down to clippy-driver via an env variable.

1  2 
src/cargo/core/compiler/compilation.rs