Skip to content

Commit 955f861

Browse files
ManishearthCentril
authored andcommitted
Update clippy
1 parent ac162c6 commit 955f861

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Cargo.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ dependencies = [
487487
"regex-syntax",
488488
"semver",
489489
"serde",
490-
"smallvec 0.6.10",
490+
"smallvec 1.0.0",
491491
"toml",
492492
"unicode-normalization",
493493
"url 2.1.0",

src/bootstrap/test.rs

+5
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,12 @@ impl Step for Clippy {
570570
let host_libs = builder
571571
.stage_out(compiler, Mode::ToolRustc)
572572
.join(builder.cargo_dir());
573+
let target_libs = builder
574+
.stage_out(compiler, Mode::ToolRustc)
575+
.join(&self.host)
576+
.join(builder.cargo_dir());
573577
cargo.env("HOST_LIBS", host_libs);
578+
cargo.env("TARGET_LIBS", target_libs);
574579
// clippy tests need to find the driver
575580
cargo.env("CLIPPY_DRIVER_PATH", clippy);
576581

src/tools/clippy

0 commit comments

Comments
 (0)