fix linux-futex test being accidentally disabled

This commit is contained in:
Ralf Jung 2024-11-10 12:32:23 +01:00
parent 673d9c3e85
commit e8a3ffee49

View File

@ -1,5 +1,4 @@
//@only-target: linux //@only-target: linux android
//@only-target: android
//@compile-flags: -Zmiri-disable-isolation //@compile-flags: -Zmiri-disable-isolation
// FIXME(static_mut_refs): Do not allow `static_mut_refs` lint // FIXME(static_mut_refs): Do not allow `static_mut_refs` lint
@ -8,8 +7,8 @@
use std::mem::MaybeUninit; use std::mem::MaybeUninit;
use std::ptr::{self, addr_of}; use std::ptr::{self, addr_of};
use std::sync::atomic::{AtomicI32, Ordering}; use std::sync::atomic::{AtomicI32, Ordering};
use std::thread;
use std::time::{Duration, Instant}; use std::time::{Duration, Instant};
use std::{io, thread};
fn wake_nobody() { fn wake_nobody() {
let futex = 0; let futex = 0;