Rollup merge of #83878 - the8472:fix-concurrent-tidy-access, r=Mark-Simulacrum

Fix racing file access in tidy

That should fix the failure in https://github.com/rust-lang/rust/pull/83776#issuecomment-813311289

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.
This commit is contained in:
Dylan DPC 2021-04-05 15:48:46 +02:00 committed by GitHub
commit d856a26770
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",