Skip to content

Commit 9adea61

Browse files
author
Guanqun Lu
committed
add a WARNING to rust.optimize option in config.toml.example
1 parent 4b42e91 commit 9adea61

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

config.toml.example

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,9 @@
258258
[rust]
259259

260260
# Whether or not to optimize the compiler and standard library.
261-
#
262-
# Note: the slowness of the non optimized compiler compiling itself usually
263-
# outweighs the time gains in not doing optimizations, therefore a
264-
# full bootstrap takes much more time with `optimize` set to false.
261+
# WARNING: Building with optimize = false is NOT SUPPORTED. Due to bootstrapping,
262+
# building without optimizations takes much longer than optimizing. Further, some platforms
263+
# fail to build without this optimization (c.f. #65352).
265264
#optimize = true
266265

267266
# Indicates that the build should be configured for debugging Rust. A

0 commit comments

Comments
 (0)