Rollup merge of #133200 - RalfJung:miri-rwlock-test, r=tgross35

ignore an occasionally-failing test in Miri

This is like https://github.com/rust-lang/rust/pull/128640, the test [sometimes](https://github.com/rust-lang/rust/pull/133189) fails due to https://github.com/rust-lang/rust/issues/121950.
This commit is contained in:
Matthias Krüger 2024-11-19 09:19:21 +01:00 committed by GitHub
commit 9aac15d736
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;