about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2021-04-05 12:15:52 +0200
committerThe8472 <git@infinite-source.de>2021-04-05 12:15:52 +0200
commit1df9d498e19088c6bdd838b22cfd64397e42c43f (patch)
tree402617342721361ff8d069218db5ebf808c1a001
parent58e71896506edb701f276158bd2f47e8788a1133 (diff)
don't try to visit probe file
this file is only created for a brief moment during the bins checks
in the source directories while other checks may also be visiting
that directory. skip processing it to avoid missing file errors
-rw-r--r--src/tools/tidy/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tidy/src/lib.rs b/src/tools/tidy/src/lib.rs
index cbcc01dc39a..fcb27dae9ea 100644
--- a/src/tools/tidy/src/lib.rs
+++ b/src/tools/tidy/src/lib.rs
@@ -53,6 +53,7 @@ pub mod unstable_book;
 
 fn filter_dirs(path: &Path) -> bool {
     let skip = [
+        "tidy-test-file",
         "compiler/rustc_codegen_cranelift",
         "src/llvm-project",
         "library/backtrace",