about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-count-overflow-debug.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-08-12 17:29:34 -0700
committerJosh Stone <jistone@redhat.com>2019-08-12 17:29:34 -0700
commitbca6f28f7f7a6db3416c0d4e631a7a4cc1072cf7 (patch)
tree67604f36a068677ceb4138529c45c88683d0dec4 /src/test/ui/iterators/iter-count-overflow-debug.rs
parentc4189a0bd91af5bd77ba30004992c6fa6a63c23e (diff)
downloadrust-bca6f28f7f7a6db3416c0d4e631a7a4cc1072cf7.tar.gz
rust-bca6f28f7f7a6db3416c0d4e631a7a4cc1072cf7.zip
Force optimization in 32-bit iter overflow tests
Diffstat (limited to 'src/test/ui/iterators/iter-count-overflow-debug.rs')
-rw-r--r--src/test/ui/iterators/iter-count-overflow-debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/iterators/iter-count-overflow-debug.rs b/src/test/ui/iterators/iter-count-overflow-debug.rs
index 1e14142c5a6..d6612035750 100644
--- a/src/test/ui/iterators/iter-count-overflow-debug.rs
+++ b/src/test/ui/iterators/iter-count-overflow-debug.rs
@@ -1,7 +1,7 @@
 // run-pass
 // only-32bit too impatient for 2⁶⁴ items
 // ignore-wasm32-bare compiled with panic=abort by default
-// compile-flags: -C debug_assertions=yes
+// compile-flags: -C debug_assertions=yes -C opt-level=3
 
 use std::panic;
 use std::usize::MAX;