summaryrefslogtreecommitdiffstats
path: root/config.toml.example
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-01-28 15:50:03 -0700
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-02-03 18:38:17 -0700
commite1f04c04dffc1615fde9dd1e51d27bcc5275cdb2 (patch)
treeed7e0e4c8805d3ed42a8868270ce583fe739df71 /config.toml.example
parentAuto merge of #47465 - estebank:include-space-after-mut, r=nikomatsakis (diff)
downloadgrust-e1f04c04dffc1615fde9dd1e51d27bcc5275cdb2.tar.gz
grust-e1f04c04dffc1615fde9dd1e51d27bcc5275cdb2.tar.bz2
grust-e1f04c04dffc1615fde9dd1e51d27bcc5275cdb2.tar.xz
Disable ThinLTO for dist builds.
Dist builds should always be as fast as we can make them, and since those run on CI we don't care quite as much for the build being somewhat slower. As such, we don't automatically enable ThinLTO on builds for the dist builders.
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index 9ca0f563d0..75cab74258 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -235,6 +235,11 @@
235# compiler. 235# compiler.
236#codegen-units = 1 236#codegen-units = 1
237 237
238# Whether to enable ThinLTO (and increase the codegen units to either a default
239# or the configured value). On by default. If we want the fastest possible
240# compiler, we should disable this.
241#thinlto = true
242
238# Whether or not debug assertions are enabled for the compiler and standard 243# Whether or not debug assertions are enabled for the compiler and standard
239# library. Also enables compilation of debug! and trace! logging macros. 244# library. Also enables compilation of debug! and trace! logging macros.
240#debug-assertions = false 245#debug-assertions = false