Skip to content

Commit

Permalink
Rollup merge of #83878 - the8472:fix-concurrent-tidy-access, r=Mark-S…
Browse files Browse the repository at this point in the history
…imulacrum

Fix racing file access in tidy

That should fix the failure in #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.
  • Loading branch information
Dylan-DPC committed Apr 5, 2021
2 parents 770bf31 + 1df9d49 commit d856a26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/tidy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d856a26

Please sign in to comment.