diff options
| author | Guanqun Lu <guanqun.lu@gmail.com> | 2019-10-24 23:41:48 +0800 |
|---|---|---|
| committer | Guanqun Lu <guanqun.lu@gmail.com> | 2019-10-24 23:41:48 +0800 |
| commit | 9adea6177773b992fcdf7b1df26dd527cceba40d (patch) | |
| tree | 0419761b1e9a0e142fafe41bea666db228f0872e /config.toml.example | |
| parent | 4b42e919d640f7c714a7e87c91b4f3a9089552d0 (diff) | |
| download | rust-9adea6177773b992fcdf7b1df26dd527cceba40d.tar.gz rust-9adea6177773b992fcdf7b1df26dd527cceba40d.zip | |
add a WARNING to rust.optimize option in config.toml.example
Diffstat (limited to 'config.toml.example')
| -rw-r--r-- | config.toml.example | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/config.toml.example b/config.toml.example index 848147c2974..0124583e41c 100644 --- a/config.toml.example +++ b/config.toml.example @@ -258,10 +258,9 @@ [rust] # 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. +# WARNING: Building with optimize = false is NOT SUPPORTED. Due to bootstrapping, +# building without optimizations takes much longer than optimizing. Further, some platforms +# fail to build without this optimization (c.f. #65352). #optimize = true # Indicates that the build should be configured for debugging Rust. A |
