Skip to content

Commit

Permalink
ignore an occasionally-failing test in Miri
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Nov 19, 2024
1 parent c1beb25 commit 7430eb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions std/src/sync/rwlock/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7430eb4

Please sign in to comment.