Skip to content

Commit 8ead854

Browse files
RalfJunggitbot
authored and
gitbot
committed
disable a potentially bogus test on Miri
1 parent e577334 commit 8ead854

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)