diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-05 20:57:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-05 20:57:22 +0100 |
| commit | 7125df06c3b420c1774bf83006529562ebba7a7b (patch) | |
| tree | 61abb46eadcab63052243038c4fbd62cbb46cf58 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 970f263156dc5b080e895899977171500bb982ae (diff) | |
| parent | 620efed932766b4cd516a26205fe47f51f54f911 (diff) | |
| download | rust-7125df06c3b420c1774bf83006529562ebba7a7b.tar.gz rust-7125df06c3b420c1774bf83006529562ebba7a7b.zip | |
Rollup merge of #108773 - jyn514:faster-tidy-fmt, r=albertlarsan68
x fmt: Only check modified files locally Previously, `x fmt` would only format modified files, while `x fmt .` and `x fmt --check` would still look at all files. After this change, `x fmt --check` only looks at modified files locally. I feel pretty confident in this change - other than https://github.com/rust-lang/rust/issues/106261, no one has reported bugs in `get_modified_rs_files` since it was added in https://github.com/rust-lang/rust/pull/105702. Combined with the changes in https://github.com/rust-lang/rust/pull/108772, this brings the time for me to run `x t tidy` with a hot FS cache down from 5 to 2 seconds (and moves the majority of the time spent back to `tidy check`, which means it can be sped up more in the future).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
