Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7430eb4

Browse files
committedNov 19, 2024
ignore an occasionally-failing test in Miri
1 parent c1beb25 commit 7430eb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎std/src/sync/rwlock/tests.rs

+3
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,9 @@ fn test_downgrade_observe() {
550550
}
551551

552552
#[test]
553+
// FIXME: On macOS we use a provenance-incorrect implementation and Miri catches that issue.
554+
// See <https://github.com/rust-lang/rust/issues/121950> for details.
555+
#[cfg_attr(all(miri, target_os = "macos"), ignore)]
553556
fn test_downgrade_atomic() {
554557
const NEW_VALUE: i32 = -1;
555558

0 commit comments

Comments
 (0)
Failed to load comments.