diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-04-05 15:48:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-05 15:48:46 +0200 |
| commit | d856a26770787ce20f46e8bfe036d42fac313502 (patch) | |
| tree | 8cc9e203ddca741ce9899e6185e1aac39ec5bbfc | |
| parent | 770bf3169b7c000bec770b0ae7f2e2fdca2ecec6 (diff) | |
| parent | 1df9d498e19088c6bdd838b22cfd64397e42c43f (diff) | |
| download | rust-d856a26770787ce20f46e8bfe036d42fac313502.tar.gz rust-d856a26770787ce20f46e8bfe036d42fac313502.zip | |
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.
| -rw-r--r-- | src/tools/tidy/src/lib.rs | 1 |
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", |
