]> git.lizzy.rs Git - rust.git/commitdiff
Merge #10978
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 10 Dec 2021 22:31:55 +0000 (22:31 +0000)
committerGitHub <noreply@github.com>
Fri, 10 Dec 2021 22:31:55 +0000 (22:31 +0000)
10978: internal: Only prime direct dependencies of the workspace crates r=jonas-schievink a=lnicola

This reduces the number of primed crates on `self` from 177 to 105.

```text
# baseline
  86521 me   20   0 2939M  562M 14320 S  0.0  0.9  0:07.10   37 rust-analyzer

# pr
  99947 me   20   0 2935M  549M 14424 S  0.0  0.9  0:07.10   37 rust-analyzer
```

The RAM usage seems to vary a lot, so I'm not sure the improvement shown above is real.

We also drop the topological sorting, although it might still make sense to do the dependencies before the workspace crates. But since it's only used to make the progress reporting a bit more fine, it probably doesn't matter too much.

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>

Trivial merge