Skip to content

Commit 6bcaba9

Browse files
committed
Try ignore-debug in the codegen test
This fixed things the last time I had a problem like this. And plausibly will here too -- the check it's failing on is for the high bit being set in the length of the slice, which is a check that's only in a debug_assert.
1 parent 132307c commit 6bcaba9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/codegen/slice-as_chunks.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// no-system-llvm
22
// compile-flags: -O
33
// only-64bit (because the LLVM type of i64 for usize shows up)
4+
// ignore-debug: the debug assertions get in the way
45

56
#![crate_type = "lib"]
67
#![feature(slice_as_chunks)]

0 commit comments

Comments
 (0)