Rollup merge of #41940 - est31:master, r=eddyb

config.toml.example: point out that optimize = false won't speed up a full bootstrap

Originally I've learned about this by @eddyb pointing this out to me over IRC, and after having told someone today the same over IRC I've thought that this is a common mistake and should be prevented by a note in config.toml.example

r? @eddyb
This commit is contained in:
Mark Simulacrum 2017-05-12 18:57:36 -06:00 committed by GitHub
commit 6e29059c3e
1 changed files with 3 additions and 0 deletions

View File

@ -175,6 +175,9 @@
[rust] [rust]
# Whether or not to optimize the compiler and standard library # Whether or not to optimize the compiler and standard library
# Note: the slowness of the non optimized compiler compiling itself usually
# outweighs the time gains in not doing optimizations, therefore a
# full bootstrap takes much more time with optimize set to false.
#optimize = true #optimize = true
# Number of codegen units to use for each compiler invocation. A value of 0 # Number of codegen units to use for each compiler invocation. A value of 0