about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-02-25 09:35:15 +0100
committerRalf Jung <post@ralfj.de>2025-02-25 09:35:28 +0100
commit5e4c582b3e125c1260d05609aee276155b0e9b72 (patch)
tree2b376c62d6c78b9a6f93e90de74abbd2ad8d6ef2
parentcfb827804fb9ee5bd93f8373ef4b9afbc5b0a38b (diff)
downloadrust-5e4c582b3e125c1260d05609aee276155b0e9b72.tar.gz
rust-5e4c582b3e125c1260d05609aee276155b0e9b72.zip
disable a potentially bogus test on Miri
-rw-r--r--library/coretests/tests/num/int_log.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/coretests/tests/num/int_log.rs b/library/coretests/tests/num/int_log.rs
index 60902752dab..9c630a61dd5 100644
--- a/library/coretests/tests/num/int_log.rs
+++ b/library/coretests/tests/num/int_log.rs
@@ -34,6 +34,7 @@ fn checked_ilog() {
 }
 
 #[test]
+#[cfg_attr(miri, ignore)] // FIXME test is broken on Miri: https://github.com/rust-lang/rust/issues/137591
 fn checked_ilog2() {
     assert_eq!(5u32.checked_ilog2(), Some(2));
     assert_eq!(0u64.checked_ilog2(), None);