Skip to content

Commit d03bb5e

Browse files
authored
Rollup merge of rust-lang#128640 - RalfJung:rwlock-macos-miri, r=joboet
rwlock: disable 'frob' test in Miri on macOS Due to rust-lang#121950, Miri will sometimes complain about this test on macOS. Better disable the test, as otherwise it can fail for unrelated PRs. r? ``@joboet``
2 parents 7680a3c + e24a6ca commit d03bb5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

std/src/sync/rwlock/tests.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ fn smoke() {
2121
}
2222

2323
#[test]
24+
// FIXME: On macOS we use a provenance-incorrect implementation and Miri
25+
// catches that issue with a chance of around 1/1000.
26+
// See <https://github.com/rust-lang/rust/issues/121950> for details.
27+
#[cfg_attr(all(miri, target_os = "macos"), ignore)]
2428
fn frob() {
2529
const N: u32 = 10;
2630
const M: usize = if cfg!(miri) { 100 } else { 1000 };

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy