We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cf485c commit d59abcfCopy full SHA for d59abcf
src/bootstrap/check.rs
@@ -340,10 +340,13 @@ impl Step for RustAnalyzer {
340
"-Zallow-features=proc_macro_internals,proc_macro_diagnostic,proc_macro_span",
341
);
342
343
- // For ./x.py clippy, don't run with --all-targets because
+ // For ./x.py clippy, don't check those targets because
344
// linting tests and benchmarks can produce very noisy results
345
if builder.kind != Kind::Clippy {
346
- cargo.arg("--all-targets");
+ // can't use `--all-targets` because `--examples` doesn't work well
347
+ cargo.arg("--bins");
348
+ cargo.arg("--tests");
349
+ cargo.arg("--benches");
350
}
351
352
builder.info(&format!(
0 commit comments