Skip to content
Permalink
Browse files

Update clippy

  • Loading branch information
Manishearth authored and Centril committed Nov 8, 2019
1 parent ac162c6 commit 955f86107512e9ebfd088a57a5395b0f2989a282
Showing with 7 additions and 2 deletions.
  1. +1 −1 Cargo.lock
  2. +5 −0 src/bootstrap/test.rs
  3. +1 −1 src/tools/clippy
@@ -487,7 +487,7 @@ dependencies = [
"regex-syntax",
"semver",
"serde",
"smallvec 0.6.10",
"smallvec 1.0.0",
"toml",
"unicode-normalization",
"url 2.1.0",
@@ -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);

0 comments on commit 955f861

Please sign in to comment.
You can’t perform that action at this time.