From e24a6ca11faa5ce5efed5085bd83a23f905a9366 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 4 Aug 2024 14:26:48 +0200 Subject: [PATCH] rwlock: disable 'frob' test in Miri on macOS --- std/src/sync/rwlock/tests.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/std/src/sync/rwlock/tests.rs b/std/src/sync/rwlock/tests.rs index 12bb0fbf0503b..37a2e41641ac1 100644 --- a/std/src/sync/rwlock/tests.rs +++ b/std/src/sync/rwlock/tests.rs @@ -21,6 +21,10 @@ fn smoke() { } #[test] +// FIXME: On macOS we use a provenance-incorrect implementation and Miri +// catches that issue with a chance of around 1/1000. +// See for details. +#[cfg_attr(all(miri, target_os = "macos"), ignore)] fn frob() { const N: u32 = 10; const M: usize = if cfg!(miri) { 100 } else { 1000 };