mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
Rollup merge of #128640 - RalfJung:rwlock-macos-miri, r=joboet
rwlock: disable 'frob' test in Miri on macOS Due to https://github.com/rust-lang/rust/issues/121950, Miri will sometimes complain about this test on macOS. Better disable the test, as otherwise it can fail for unrelated PRs. r? ``@joboet``
This commit is contained in:
commit
95b40727bd
@ -21,6 +21,10 @@ fn smoke() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
// FIXME: On macOS we use a provenance-incorrect implementation and Miri
|
||||
// catches that issue with a chance of around 1/1000.
|
||||
// See <https://github.com/rust-lang/rust/issues/121950> for details.
|
||||
#[cfg_attr(all(miri, target_os = "macos"), ignore)]
|
||||
fn frob() {
|
||||
const N: u32 = 10;
|
||||
const M: usize = if cfg!(miri) { 100 } else { 1000 };
|
||||
|
Loading…
Reference in New Issue
Block a user