diff options
| author | Andreas Jonson <andjo403@users.noreply.github.com> | 2019-08-30 21:26:04 +0200 |
|---|---|---|
| committer | Andreas Jonson <andjo403@users.noreply.github.com> | 2019-08-30 21:26:04 +0200 |
| commit | 0b478e6d46f273041ea7a4e048083d7d4e54c8fe (patch) | |
| tree | 0a687123faa136555845d92e3748edf9a65656da /src | |
| parent | 0f4140169162f6de69e2af7df616e02b75735207 (diff) | |
| download | rust-0b478e6d46f273041ea7a4e048083d7d4e54c8fe.tar.gz rust-0b478e6d46f273041ea7a4e048083d7d4e54c8fe.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/test.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/test.rs b/src/librustdoc/test.rs index 31c0b85a481..88397aacac1 100644 --- a/src/librustdoc/test.rs +++ b/src/librustdoc/test.rs @@ -263,6 +263,7 @@ fn run_test( for extern_str in &options.extern_strs { compiler.arg("--extern").arg(&extern_str); } + compiler.arg("-Ccodegen-units=1"); for codegen_options_str in &options.codegen_options_strs { compiler.arg("-C").arg(&codegen_options_str); } |
