diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-08-30 22:20:09 -0400 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2020-08-31 05:18:50 +0200 |
| commit | e467729bc35ca20584f4ad0e4b2665c57f058928 (patch) | |
| tree | 8b6d49607742447bf8d9676ccdb08ac4ec57304b /src/doc/rustc-dev-guide | |
| parent | fbef57a6f9b3685cb73414edb44609d06803f5b0 (diff) | |
| download | rust-e467729bc35ca20584f4ad0e4b2665c57f058928.tar.gz rust-e467729bc35ca20584f4ad0e4b2665c57f058928.zip | |
Fix misguided suggestions in config.toml
- `verbose-tests` is for debugging the test harness, not the tests themselves. See also https://github.com/rust-lang/rust/pull/76141 - `codegen-units` defaults to `256` whenever `incremental = true`. So there's no need to explicitly set it to `0` if we already recommend incremental. See also https://github.com/rust-lang/rustc-dev-guide/pull/795#discussion_r479762977.
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md index f2f87e1d6c9..364a307d33c 100644 --- a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md +++ b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md @@ -57,16 +57,8 @@ assertions = true # debug = true -# Number of codegen units to use for each compiler invocation. A value of 0 -# means "the number of cores on this machine", and 1+ is passed through to the -# compiler. -codegen-units = 0 - # Whether to always use incremental compilation when building rustc incremental = true - -# Emits extra output from tests so test failures are debuggable just from logfiles. -verbose-tests = true ``` If you have already built `rustc`, then you may have to execute `rm -rf build` for subsequent |
