From 955f86107512e9ebfd088a57a5395b0f2989a282 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 7 Nov 2019 19:15:13 -0800 Subject: [PATCH] Update clippy --- Cargo.lock | 2 +- src/bootstrap/test.rs | 5 +++++ src/tools/clippy | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0f770f3eadbea..c9c67834cca65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -487,7 +487,7 @@ dependencies = [ "regex-syntax", "semver", "serde", - "smallvec 0.6.10", + "smallvec 1.0.0", "toml", "unicode-normalization", "url 2.1.0", diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 60f0dccdb070e..a858ed42badfd 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -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); diff --git a/src/tools/clippy b/src/tools/clippy index c8e3cfbdd9978..3abdd2f1ced4c 160000 --- a/src/tools/clippy +++ b/src/tools/clippy @@ -1 +1 @@ -Subproject commit c8e3cfbdd997839c771ca32c7ac860fe95149a04 +Subproject commit 3abdd2f1ced4cf3a44c7de88c5e39b3bb5037c4d