From 9adea6177773b992fcdf7b1df26dd527cceba40d Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Thu, 24 Oct 2019 23:41:48 +0800 Subject: [PATCH] add a WARNING to rust.optimize option in config.toml.example --- config.toml.example | 7 +++---- 1 file 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