Skip to content

Commit 8640c43

Browse files
committed
data-race test: disable address reuse that can incur accidental sync
1 parent fa1e265 commit 8640c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/fail-dep/libc/socketpair-data-race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! This is a regression test for <https://github.com/rust-lang/miri/issues/3947>: we had some
22
//! faulty logic around `release_clock` that led to this code not reporting a data race.
33
//@ignore-target: windows # no libc socketpair on Windows
4-
//@compile-flags: -Zmiri-preemption-rate=0
4+
//@compile-flags: -Zmiri-preemption-rate=0 -Zmiri-address-reuse-rate=0
55
use std::thread;
66

77
fn main() {

0 commit comments

Comments
 (0)