Skip to content

Commit 8d562f6

Browse files
committed
Disable slice_iter mir-opt test in debug builds
1 parent 128ccc3 commit 8d562f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/mir-opt/pre-codegen/slice_iter.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// skip-filecheck
22
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
33
//@ only-64bit (constants for `None::<&T>` show in the output)
4+
//@ ignore-debug: precondition checks on ptr::add are under cfg(debug_assertions)
45
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
56

67
#![crate_type = "lib"]

0 commit comments

Comments
 (0)