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:
commit
d856a26770
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user