about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-19 08:01:45 +0100
committerRalf Jung <post@ralfj.de>2024-11-19 08:03:16 +0100
commit7931a8ddef674da07d1254c8e1af39c76e311e49 (patch)
tree8c5fb8f935433350ff25da79ba7101daae166ba9
parent5926e82dd1eae211c6e2ffe446de54df04798e89 (diff)
downloadrust-7931a8ddef674da07d1254c8e1af39c76e311e49.tar.gz
rust-7931a8ddef674da07d1254c8e1af39c76e311e49.zip
ignore an occasionally-failing test in Miri
-rw-r--r--library/std/src/sync/rwlock/tests.rs3
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;