Skip to content

Commit

Permalink
Fix misguided suggestions in config.toml
Browse files Browse the repository at this point in the history
- `verbose-tests` is for debugging the test harness, not the tests
themselves. See also rust-lang/rust#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 rust-lang#795 (comment).
  • Loading branch information
jyn514 committed Aug 31, 2020
1 parent 45a1535 commit f07f8fb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/building/how-to-build-and-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f07f8fb

Please sign in to comment.