about summary refs log tree commit diff
path: root/src/test/run-pass
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-11-25 11:13:58 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-11-30 07:17:53 -0800
commit855f6d1483e023cea3b7988db294ed9767e15359 (patch)
tree1677a936b547ab7201cc9a7c6b3f45feeca37483 /src/test/run-pass
parent7df4683cc06acac3b0081eed23128a05c0b83f44 (diff)
downloadrust-855f6d1483e023cea3b7988db294ed9767e15359.tar.gz
rust-855f6d1483e023cea3b7988db294ed9767e15359.zip
rustc: Prepare to enable ThinLTO by default
This commit prepares to enable ThinLTO and multiple codegen units in release
mode by default. We've still got a debuginfo bug or two to sort out before
actually turning it on by default.
Diffstat (limited to 'src/test/run-pass')
-rw-r--r--src/test/run-pass/no-landing-pads.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/no-landing-pads.rs b/src/test/run-pass/no-landing-pads.rs
index e718046ebbc..73f123045d2 100644
--- a/src/test/run-pass/no-landing-pads.rs
+++ b/src/test/run-pass/no-landing-pads.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// compile-flags: -Z no-landing-pads
+// compile-flags: -Z no-landing-pads -C codegen-units=1
 // ignore-emscripten no threads support
 
 use std::thread;