Skip to content

Commit

Permalink
Rollup merge of rust-lang#133200 - RalfJung:miri-rwlock-test, r=tgross35
Browse files Browse the repository at this point in the history
ignore an occasionally-failing test in Miri

This is like rust-lang#128640, the test [sometimes](rust-lang#133189) fails due to rust-lang#121950.
  • Loading branch information
matthiaskrgr authored Nov 19, 2024
2 parents f25fee3 + 7931a8d commit 9aac15d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/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 9aac15d

Please sign in to comment.