From 9adea6177773b992fcdf7b1df26dd527cceba40d Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Thu, 24 Oct 2019 23:41:48 +0800 Subject: add a WARNING to rust.optimize option in config.toml.example --- config.toml.example | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'config.toml.example') 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 -- cgit 1.4.1-3-g733a5 From 2f7e3d55c96ef44463bb62f98ba25538fc2fffff Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Thu, 24 Oct 2019 23:43:06 +0800 Subject: add the missing rust.musl-root option in config.toml.example --- config.toml.example | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index 0124583e41c..d6a5c5a3b92 100644 --- a/config.toml.example +++ b/config.toml.example @@ -340,6 +340,9 @@ # nightly features #channel = "dev" +# The root location of the MUSL installation directory. +#musl-root = "..." + # By default the `rustc` executable is built with `-Wl,-rpath` flags on Unix # platforms to ensure that the compiler is usable by default from the build # directory (as it links to a number of dynamic libraries). This may not be -- cgit 1.4.1-3-g733a5