mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-23 13:13:17 +00:00
Force optimization in 32-bit iter overflow tests
This commit is contained in:
parent
c4189a0bd9
commit
bca6f28f7f
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user