diff options
| author | Ralf Jung <post@ralfj.de> | 2024-11-19 08:01:45 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-11-19 08:03:16 +0100 |
| commit | 7931a8ddef674da07d1254c8e1af39c76e311e49 (patch) | |
| tree | 8c5fb8f935433350ff25da79ba7101daae166ba9 | |
| parent | 5926e82dd1eae211c6e2ffe446de54df04798e89 (diff) | |
| download | rust-7931a8ddef674da07d1254c8e1af39c76e311e49.tar.gz rust-7931a8ddef674da07d1254c8e1af39c76e311e49.zip | |
ignore an occasionally-failing test in Miri
| -rw-r--r-- | library/std/src/sync/rwlock/tests.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/sync/rwlock/tests.rs b/library/std/src/sync/rwlock/tests.rs index 02ac1c85b91..29cad4400f1 100644 --- a/library/std/src/sync/rwlock/tests.rs +++ b/library/std/src/sync/rwlock/tests.rs @@ -550,6 +550,9 @@ fn test_downgrade_observe() { } #[test] +// FIXME: On macOS we use a provenance-incorrect implementation and Miri catches that issue. +// See <https://github.com/rust-lang/rust/issues/121950> for details. +#[cfg_attr(all(miri, target_os = "macos"), ignore)] fn test_downgrade_atomic() { const NEW_VALUE: i32 = -1; |
