Update clippy

This commit is contained in:
Manish Goregaokar 2019-11-07 19:15:13 -08:00 committed by Mazdak Farrokhzad
parent ac162c6abe
commit 955f861075
3 changed files with 7 additions and 2 deletions

View File

@ -487,7 +487,7 @@ dependencies = [
"regex-syntax",
"semver",
"serde",
"smallvec 0.6.10",
"smallvec 1.0.0",
"toml",
"unicode-normalization",
"url 2.1.0",

View File

@ -570,7 +570,12 @@ impl Step for Clippy {
let host_libs = builder
.stage_out(compiler, Mode::ToolRustc)
.join(builder.cargo_dir());
let target_libs = builder
.stage_out(compiler, Mode::ToolRustc)
.join(&self.host)
.join(builder.cargo_dir());
cargo.env("HOST_LIBS", host_libs);
cargo.env("TARGET_LIBS", target_libs);
// clippy tests need to find the driver
cargo.env("CLIPPY_DRIVER_PATH", clippy);

@ -1 +1 @@
Subproject commit c8e3cfbdd997839c771ca32c7ac860fe95149a04
Subproject commit 3abdd2f1ced4cf3a44c7de88c5e39b3bb5037c4d