Skip to content

Commit

Permalink
Auto merge of #45715 - oli-obk:clippy, r=kennytm
Browse files Browse the repository at this point in the history
Reenable clippy testing

fixes #45680
  • Loading branch information
bors committed Nov 15, 2017
2 parents 3707db9 + 5319203 commit ce2b8a4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
16 changes: 10 additions & 6 deletions src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/bootstrap/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,10 @@ impl Step for Clippy {
cargo.env("RUSTC_NO_PREFER_DYNAMIC", "1");
// clippy tests need to know about the stage sysroot
cargo.env("SYSROOT", builder.sysroot(compiler));
cargo.env("RUSTC_TEST_SUITE", builder.rustc(compiler));
cargo.env("RUSTC_LIB_PATH", builder.rustc_libdir(compiler));
let host_libs = builder.stage_out(compiler, Mode::Tool).join(builder.cargo_dir());
cargo.env("HOST_LIBS", host_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
2 changes: 1 addition & 1 deletion src/tools/toolstate.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
miri = "Broken"

# ping @Manishearth @llogiq @mcarton @oli-obk
clippy = "Broken"
clippy = "Testing"

# ping @nrc
rls = "Testing"
Expand Down

0 comments on commit ce2b8a4

Please sign in to comment.