Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update clippy
  • Loading branch information
Manishearth authored and Centril committed Nov 11, 2019
1 parent ac162c6 commit 955f861
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock
Expand Up @@ -487,7 +487,7 @@ dependencies = [
"regex-syntax",
"semver",
"serde",
"smallvec 0.6.10",
"smallvec 1.0.0",
"toml",
"unicode-normalization",
"url 2.1.0",
Expand Down
5 changes: 5 additions & 0 deletions src/bootstrap/test.rs
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/tools/clippy

0 comments on commit 955f861

Please sign in to comment.