Skip to content

Commit

Permalink
Add clippy-driver as a proxy
Browse files Browse the repository at this point in the history
The Cargo team are taking `cargo clippy` on-board and as such
will need `clippy-driver` as a general proxy.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
  • Loading branch information
kinnison committed Mar 4, 2019
1 parent 297b177 commit 030d853
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rustup-win-installer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ static TOOLS: &'static [&'static str] = &[
"rustfmt",
"cargo-fmt",
"cargo-clippy",
"clippy-driver",
"cargo-miri",
];

Expand Down
2 changes: 2 additions & 0 deletions src/rustup/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub static TOOLS: &'static [&'static str] = &[
"rust-gdb",
"rls",
"cargo-clippy",
"clippy-driver",
"cargo-miri",
];

Expand All @@ -39,6 +40,7 @@ fn component_for_bin(binary: &str) -> Option<&'static str> {
"rust-gdb" => Some("gdb-preview"),
"rls" => Some("rls"),
"cargo-clippy" => Some("clippy"),
"clippy-driver" => Some("clippy"),
"cargo-miri" => Some("miri"),
"rustfmt" | "cargo-fmt" => Some("rustfmt"),
_ => None,
Expand Down

0 comments on commit 030d853

Please sign in to comment.