diff options
| author | bors <bors@rust-lang.org> | 2022-04-02 10:42:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-04-02 10:42:12 +0000 |
| commit | 85b88be2a4fc46fc27d51d4fb273d65818ee63d7 (patch) | |
| tree | e3f28fc56bb67200f7904895f8839ef218cf0765 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | baaddf2b84008c6128b928472660bafa56e41b37 (diff) | |
| parent | ae5af0cd1a3f59cc3537ade7dfba06989969b918 (diff) | |
| download | rust-85b88be2a4fc46fc27d51d4fb273d65818ee63d7.tar.gz rust-85b88be2a4fc46fc27d51d4fb273d65818ee63d7.zip | |
Auto merge of #8605 - Jarcho:remove-deps, r=xFrednet
Remove deps This remove both `regex` and `cargo_metadata` as dependencies making `clippy_dev` compile ~3x faster (~46s -> ~16s locally). `cargo_metadata` was used to extract the `version` field from `Cargo.toml`, which is done trivially without that. `regex` was used to parse `define_clippy_lint` in `update_lints` which is now done using `rustc_lexer`. This isn't any simpler, but it compiles ~15s faster and runs ~3x faster (~2.1s -> ~0.7s locally). The next biggest offenders to compile times are `clap` and `winapi` on windows. `clap` could be removed, but re-implementing enough is probably more work than it's worth. `winapi` is used by `opener` and `walkdir` so it's stuck there. changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
