about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-15 08:00:15 +0200
committerGitHub <noreply@github.com>2022-09-15 08:00:15 +0200
commita88b96b81ba4f7e77727440999e5f26b967cc757 (patch)
tree2fc918162b84af16f8998fe224e2e6f103ef49e8
parent944984885a9dfb9084cac3c5dd7a3bd404795f1a (diff)
parent31d53489bca824087a641dddc34e2e1ba06e20c4 (diff)
downloadrust-a88b96b81ba4f7e77727440999e5f26b967cc757.tar.gz
rust-a88b96b81ba4f7e77727440999e5f26b967cc757.zip
Rollup merge of #101786 - chenyukang:fix-tidy-for-bootstrap, r=jyn514
Tidy will not check coding style in bootstrap/target

`bootstrap/target` may contains the files generated by `rust-analysis`, which we won't want to be checked.
-rw-r--r--src/tools/tidy/src/walk.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tidy/src/walk.rs b/src/tools/tidy/src/walk.rs
index 6dca55dfa9f..b07e80767fa 100644
--- a/src/tools/tidy/src/walk.rs
+++ b/src/tools/tidy/src/walk.rs
@@ -23,6 +23,7 @@ pub fn filter_dirs(path: &Path) -> bool {
         "src/doc/book",
         // Filter RLS output directories
         "target/rls",
+        "src/bootstrap/target",
     ];
     skip.iter().any(|p| path.ends_with(p))
 }