diff options
| author | bors <bors@rust-lang.org> | 2021-02-20 00:25:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-02-20 00:25:10 +0000 |
| commit | 23de8013a641247a2244797f5919249ae069f369 (patch) | |
| tree | 5ff5cf45f79c8dfeacd4cb84909455abdd62481e /src/test/codegen/src-hash-algorithm | |
| parent | 0f70e881374e4204a8537265f5f73146f0dc6428 (diff) | |
| parent | 8499a32859280e3f29a2b000450bcec13bf80b9c (diff) | |
| download | rust-23de8013a641247a2244797f5919249ae069f369.tar.gz rust-23de8013a641247a2244797f5919249ae069f369.zip | |
Auto merge of #6764 - matthiaskrgr:lintcheck_par_iter, r=flip1995
lintcheck: parallelize By default we use a single thread and one target dir as before. If `-j n` is passed, use `n` target dirs and run one clippy in each of them. We need several target dirs because cargo would lock them for a single process otherwise which would prevent the parallelism. `-j 0` makes rayon use $thread_count/2 (which I assume is the number of physical cores of a machine) for the number of threads. Other change: Show output of clippy being compiled when building it for lintcheck (makes it easier to spot compiler errors etc) Show some progress indication in the "Linting... foo 1.2.3" message. Sort crates before linting (previously crates would be split randomly between target dirs, with the sorting, we try to make sure that even crates land in target dir 0 and odd ones in target dir 1 etc..) *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: parallelize lintcheck with rayon
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
