Skip to content

Commit 33c2639

Browse files
committed
disable a potentially bogus test on Miri
1 parent 24657f1 commit 33c2639

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coretests/tests/num/int_log.rs

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ fn checked_ilog() {
3434
}
3535

3636
#[test]
37+
#[cfg_attr(miri, ignore)] // FIXME test is broken on Miri: https://github.com/rust-lang/rust/issues/137591
3738
fn checked_ilog2() {
3839
assert_eq!(5u32.checked_ilog2(), Some(2));
3940
assert_eq!(0u64.checked_ilog2(), None);

0 commit comments

Comments
 (0)