Skip to content

Commit

Permalink
Force optimization in 32-bit iter overflow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Aug 13, 2019
1 parent c4189a0 commit bca6f28
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/iterators/iter-count-overflow-debug.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/iterators/iter-count-overflow-ndebug.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// run-pass
// only-32bit too impatient for 2⁶⁴ items
// compile-flags: -C debug_assertions=no
// compile-flags: -C debug_assertions=no -C opt-level=3

use std::panic;
use std::usize::MAX;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/iterators/iter-position-overflow-debug.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/iterators/iter-position-overflow-ndebug.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// run-pass
// only-32bit too impatient for 2⁶⁴ items
// compile-flags: -C debug_assertions=no
// compile-flags: -C debug_assertions=no -C opt-level=3

use std::panic;
use std::usize::MAX;
Expand Down

0 comments on commit bca6f28

Please sign in to comment.