Skip to content

Commit 39490ca

Browse files
Rollup merge of rust-lang#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
2 parents e532ea0 + b47aa1b commit 39490ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/config.toml.example

+3
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@
175175
[rust]
176176

177177
# Whether or not to optimize the compiler and standard library
178+
# Note: the slowness of the non optimized compiler compiling itself usually
179+
# outweighs the time gains in not doing optimizations, therefore a
180+
# full bootstrap takes much more time with optimize set to false.
178181
#optimize = true
179182

180183
# Number of codegen units to use for each compiler invocation. A value of 0

0 commit comments

Comments
 (0)