Force optimization in 32-bit iter overflow tests

This commit is contained in:
Josh Stone 2019-08-12 17:29:34 -07:00
parent c4189a0bd9
commit bca6f28f7f
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;