Disable slice_iter mir-opt test in debug builds

This commit is contained in:
Ben Kimock 2024-10-07 12:23:27 -04:00
parent 128ccc3c26
commit 8d562f6cc5

View File

@ -1,6 +1,7 @@
// skip-filecheck
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
//@ only-64bit (constants for `None::<&T>` show in the output)
//@ ignore-debug: precondition checks on ptr::add are under cfg(debug_assertions)
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
#![crate_type = "lib"]