Skip to content

Commit

Permalink
Try ignore-debug in the codegen test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
scottmcm committed Jan 16, 2021
1 parent 132307c commit 6bcaba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/codegen/slice-as_chunks.rs
@@ -1,6 +1,7 @@
// no-system-llvm
// compile-flags: -O
// only-64bit (because the LLVM type of i64 for usize shows up)
// ignore-debug: the debug assertions get in the way

#![crate_type = "lib"]
#![feature(slice_as_chunks)]
Expand Down

0 comments on commit 6bcaba9

Please sign in to comment.