rwlock: disable 'frob' test in Miri on macOS

This commit is contained in:
Ralf Jung 2024-08-04 14:26:48 +02:00
parent eefd2eac52
commit a120fb7031

View File

@ -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 <https://github.com/rust-lang/rust/issues/121950> 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 };