]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #64032 - andjo403:codegen-units, r=Mark-Simulacrum
authorMazdak Farrokhzad <twingoow@gmail.com>
Sun, 1 Sep 2019 09:39:28 +0000 (11:39 +0200)
committerGitHub <noreply@github.com>
Sun, 1 Sep 2019 09:39:28 +0000 (11:39 +0200)
rustdoc use -Ccodegen-units=1 by default for test compile

as the test is small we do not want split up in multiple codegen units
and also as there is multiple test running at the same time this
will reduce the number of concurrent threads

tested the test time with `./x.py test src/libcore --doc`
for my 16 core 32 thread cpu i get about 6% faster execution
and my 2 core 4 thread cpu I get about 10% faster execution

cc #63638
 r? @Mark-Simulacrum


Trivial merge