mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 07:04:18 +00:00
Fix running compile-test under cargo nextest
This commit is contained in:
parent
bd1224d8aa
commit
af6d49d97c
1 changed files with 0 additions and 9 deletions
|
@ -268,15 +268,6 @@ fn run_ui_cargo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
// Support being run by cargo nextest - https://nexte.st/book/custom-test-harnesses.html
|
|
||||||
if env::args().any(|arg| arg == "--list") {
|
|
||||||
if !env::args().any(|arg| arg == "--ignored") {
|
|
||||||
println!("compile_test: test");
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
set_var("CLIPPY_DISABLE_DOCS_LINKS", "true");
|
set_var("CLIPPY_DISABLE_DOCS_LINKS", "true");
|
||||||
// The SPEEDTEST_* env variables can be used to check Clippy's performance on your PR. It runs the
|
// The SPEEDTEST_* env variables can be used to check Clippy's performance on your PR. It runs the
|
||||||
// affected test 1000 times and gets the average.
|
// affected test 1000 times and gets the average.
|
||||||
|
|
Loading…
Reference in a new issue