Skip to content

Commit 5a4d71f

Browse files
committed
Auto merge of rust-lang#2379 - RalfJung:ui-test-target-filter, r=oli-obk
ui_test: more robust syntax for target filtering Implicit fallbacks are always fragile and prone to typos, so let's be explicit.
2 parents 0a0a15a + 090f289 commit 5a4d71f

File tree

103 files changed

+115
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+115
-113
lines changed

tests/fail/concurrency/libc_pthread_create_main_terminate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
//@error-pattern: the main thread terminated without waiting for all remaining threads
33

44
// Check that we terminate the program when the main thread terminates.

tests/fail/concurrency/libc_pthread_join_detached.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
// Joining a detached thread is undefined behavior.
44

tests/fail/concurrency/libc_pthread_join_joined.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
// Joining an already joined thread is undefined behavior.
44

tests/fail/concurrency/libc_pthread_join_main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
// Joining the main thread is undefined behavior.
44

tests/fail/concurrency/libc_pthread_join_multiple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
// Joining the same thread from multiple threads is undefined behavior.
44

tests/fail/concurrency/libc_pthread_join_self.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
// We are making scheduler assumptions here.
33
//@compile-flags: -Zmiri-preemption-rate=0
44

tests/fail/concurrency/thread-spawn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@only-windows: Only Windows is not supported.
1+
//@only-target-windows: Only Windows is not supported.
22

33
use std::thread;
44

tests/fail/concurrency/thread_local_static_dealloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22

33
//! Ensure that thread-local statics get deallocated when the thread dies.
44

tests/fail/concurrency/too_few_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22

33
//! The thread function must have exactly one argument.
44

tests/fail/concurrency/too_many_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22

33
//! The thread function must have exactly one argument.
44

tests/fail/concurrency/unwind_top_of_stack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-abi-check
33

44
//! Unwinding past the top frame of a stack is Undefined Behavior.

tests/fail/data_race/alloc_read_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33
#![feature(new_uninit)]
44

tests/fail/data_race/alloc_write_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33
#![feature(new_uninit)]
44

tests/fail/data_race/atomic_read_na_write_race1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44
#![feature(core_intrinsics)]
55

66
use std::intrinsics;

tests/fail/data_race/atomic_read_na_write_race2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::sync::atomic::AtomicUsize;
66
use std::sync::atomic::Ordering;

tests/fail/data_race/atomic_write_na_read_race1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::sync::atomic::AtomicUsize;
66
use std::sync::atomic::Ordering;

tests/fail/data_race/atomic_write_na_read_race2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44
#![feature(core_intrinsics)]
55

66
use std::intrinsics::atomic_store;

tests/fail/data_race/atomic_write_na_write_race1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44
#![feature(core_intrinsics)]
55

66
use std::intrinsics::atomic_store;

tests/fail/data_race/atomic_write_na_write_race2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::sync::atomic::AtomicUsize;
66
use std::sync::atomic::Ordering;

tests/fail/data_race/dangling_thread_async_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-disable-isolation -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::mem;
66
use std::thread::{sleep, spawn};

tests/fail/data_race/dangling_thread_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-disable-isolation -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::mem;
66
use std::thread::{sleep, spawn};

tests/fail/data_race/dealloc_read_race1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::thread::spawn;
66

tests/fail/data_race/dealloc_read_race2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::thread::spawn;
66

tests/fail/data_race/dealloc_read_race_stack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-isolation -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33

44
use std::ptr::null_mut;

tests/fail/data_race/dealloc_write_race1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::thread::spawn;
66

tests/fail/data_race/dealloc_write_race2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::thread::spawn;
66

tests/fail/data_race/dealloc_write_race_stack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-isolation -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33

44
use std::ptr::null_mut;

tests/fail/data_race/enable_after_join_to_main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::thread::spawn;
66

tests/fail/data_race/fence_after_load.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-disable-isolation -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44
use std::sync::atomic::{fence, AtomicUsize, Ordering};
55
use std::sync::Arc;
66
use std::thread;

tests/fail/data_race/read_write_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::thread::spawn;
66

tests/fail/data_race/read_write_race_stack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-isolation -Zmir-opt-level=0 -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33

44
// Note: mir-opt-level set to 0 to prevent the read of stack_var in thread 1

tests/fail/data_race/relax_acquire_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33

44
use std::sync::atomic::{AtomicUsize, Ordering};

tests/fail/data_race/release_seq_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-isolation -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33

44
use std::sync::atomic::{AtomicUsize, Ordering};

tests/fail/data_race/release_seq_race_same_thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-isolation -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33

44
use std::sync::atomic::{AtomicUsize, Ordering};

tests/fail/data_race/rmw_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33

44
use std::sync::atomic::{AtomicUsize, Ordering};

tests/fail/data_race/stack_pop_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-preemption-rate=0
33
use std::thread;
44

tests/fail/data_race/write_write_race.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We want to control preemption here.
22
//@compile-flags: -Zmiri-preemption-rate=0
3-
//@ignore-windows: Concurrency on Windows is not supported yet.
3+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
44

55
use std::thread::spawn;
66

tests/fail/data_race/write_write_race_stack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-disable-isolation -Zmiri-disable-weak-memory-emulation -Zmiri-preemption-rate=0
33

44
use std::ptr::null_mut;

tests/fail/environ-gets-deallocated.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Windows does not have a global environ list that the program can access directly
1+
//@ignore-target-windows: Windows does not have a global environ list that the program can access directly
22

33
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
44
fn get_environ() -> *const *const u8 {

tests/fail/fs/close_stdout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
//@compile-flags: -Zmiri-disable-isolation
33

44
// FIXME: standard handles cannot be closed (https://github.com/rust-lang/rust/issues/40032)

tests/fail/fs/isolated_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: File handling is not implemented yet
1+
//@ignore-target-windows: File handling is not implemented yet
22
//@error-pattern: `open` not available when isolation is enabled
33

44
fn main() {

tests/fail/fs/isolated_stdin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

tests/fail/fs/read_from_stdout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@compile-flags: -Zmiri-disable-isolation
2-
//@ignore-windows: No libc on Windows
2+
//@ignore-target-windows: No libc on Windows
33

44
#![feature(rustc_private)]
55

tests/fail/fs/unix_open_missing_required_mode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
//@compile-flags: -Zmiri-disable-isolation
33

44
#![feature(rustc_private)]

tests/fail/fs/write_to_stdin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

tests/fail/should-pass/cpp20_rwc_syncs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: Concurrency on Windows is not supported yet.
1+
//@ignore-target-windows: Concurrency on Windows is not supported yet.
22
//@compile-flags: -Zmiri-ignore-leaks
33
//@error-pattern: unreachable
44

tests/fail/sync/libc_pthread_cond_double_destroy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
#![feature(rustc_private)]
33

44
/// Test that destroying a pthread_cond twice fails, even without a check for number validity

tests/fail/sync/libc_pthread_condattr_double_destroy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
#![feature(rustc_private)]
33

44
/// Test that destroying a pthread_condattr twice fails, even without a check for number validity

tests/fail/sync/libc_pthread_mutex_NULL_deadlock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
//
33
// Check that if we pass NULL attribute, then we get the default mutex type.
44

tests/fail/sync/libc_pthread_mutex_deadlock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

tests/fail/sync/libc_pthread_mutex_default_deadlock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
//
33
// Check that if we do not set the mutex type, it is the default.
44

tests/fail/sync/libc_pthread_mutex_destroy_locked.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

tests/fail/sync/libc_pthread_mutex_double_destroy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
#![feature(rustc_private)]
33

44
/// Test that destroying a pthread_mutex twice fails, even without a check for number validity

tests/fail/sync/libc_pthread_mutex_normal_deadlock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

tests/fail/sync/libc_pthread_mutex_normal_unlock_unlocked.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

tests/fail/sync/libc_pthread_mutex_wrong_owner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

tests/fail/sync/libc_pthread_mutexattr_double_destroy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
#![feature(rustc_private)]
33

44
/// Test that destroying a pthread_mutexattr twice fails, even without a check for number validity

tests/fail/sync/libc_pthread_rwlock_destroy_read_locked.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

tests/fail/sync/libc_pthread_rwlock_destroy_write_locked.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

tests/fail/sync/libc_pthread_rwlock_double_destroy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22
#![feature(rustc_private)]
33

44
/// Test that destroying a pthread_rwlock twice fails, even without a check for number validity

tests/fail/sync/libc_pthread_rwlock_read_write_deadlock_single_thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ignore-windows: No libc on Windows
1+
//@ignore-target-windows: No libc on Windows
22

33
#![feature(rustc_private)]
44

0 commit comments

Comments
 (0)