diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-05-21 20:31:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-21 20:31:46 +0000 |
| commit | 3da4c1033aa95d0c1a4310240295d49c6ef0d8fc (patch) | |
| tree | 6d6891af945be4ed7076df111af4f32b482c157b /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 9fa448a119aca6408c554cea1d75ebdca726f0b6 (diff) | |
| parent | 106ac79ecb3e90fb4ffa59015ff9052c40a5a116 (diff) | |
| download | rust-3da4c1033aa95d0c1a4310240295d49c6ef0d8fc.tar.gz rust-3da4c1033aa95d0c1a4310240295d49c6ef0d8fc.zip | |
Improve speed of `cargo dev fmt` (#14862)
This stops using `cargo fmt` and instead calls rustfmt directly with the list of all files. All `cargo fmt` does is find the crate roots and passes the edition from `cargo.toml`. Since the edition is set in `rustfmt.toml` for the test files and we're already iterating through all the files this is not needed. `--skip-children` is used since we already pass all the files, so the automatic detection isn't buying us anything other than running slower. ~Second commit~ (part of the first commit now) is a change to only use the `ignore` option in `rustfmt.toml` rather than having a way in `cargo dev fmt` to ignore files. r? @samueltardieu changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
