Skip to content

Commit 5e4c582

Browse files
committed
disable a potentially bogus test on Miri
1 parent cfb8278 commit 5e4c582

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/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)