Skip to content

Commit

Permalink
Unrolled build for rust-lang#133200
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#133200 - RalfJung:miri-rwlock-test, r=tgross35

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
rust-timer authored Nov 19, 2024
2 parents 89b6885 + 7931a8d commit b3db772
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 b3db772

Please sign in to comment.