Skip to content

Commit 881f2ec

Browse files
authored
Merge pull request #4022 from RalfJung/linux-futex
fix linux-futex test being accidentally disabled
2 parents 673d9c3 + e8a3ffe commit 881f2ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: src/tools/miri/tests/pass-dep/concurrency/linux-futex.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//@only-target: linux
2-
//@only-target: android
1+
//@only-target: linux android
32
//@compile-flags: -Zmiri-disable-isolation
43

54
// FIXME(static_mut_refs): Do not allow `static_mut_refs` lint
@@ -8,8 +7,8 @@
87
use std::mem::MaybeUninit;
98
use std::ptr::{self, addr_of};
109
use std::sync::atomic::{AtomicI32, Ordering};
11-
use std::thread;
1210
use std::time::{Duration, Instant};
11+
use std::{io, thread};
1312

1413
fn wake_nobody() {
1514
let futex = 0;

0 commit comments

Comments
 (0)