Skip to content

Commit d856a26

Browse files
authored
Rollup merge of rust-lang#83878 - the8472:fix-concurrent-tidy-access, r=Mark-Simulacrum
Fix racing file access in tidy That should fix the failure in rust-lang#83776 (comment) The file is only created for a brief moment during the bins checks in the source directories while other checks may also be visiting the same directory. By skipping it we avoid file not found errors.
2 parents 770bf31 + 1df9d49 commit d856a26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/tidy/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ pub mod unstable_book;
5353

5454
fn filter_dirs(path: &Path) -> bool {
5555
let skip = [
56+
"tidy-test-file",
5657
"compiler/rustc_codegen_cranelift",
5758
"src/llvm-project",
5859
"library/backtrace",

0 commit comments

Comments
 (0)