diff options
author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-01-28 15:50:03 -0700 |
---|---|---|
committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-02-03 18:38:17 -0700 |
commit | e1f04c04dffc1615fde9dd1e51d27bcc5275cdb2 (patch) | |
tree | ed7e0e4c8805d3ed42a8868270ce583fe739df71 /config.toml.example | |
parent | Auto merge of #47465 - estebank:include-space-after-mut, r=nikomatsakis (diff) | |
download | grust-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.example | 5 |
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 |