Add only-unix to sigpipe tests

This commit is contained in:
Ben Kimock 2024-04-18 16:50:06 -04:00
parent 8d3bc55904
commit e0632d7cec
5 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
//@ run-pass
//@ aux-build:sigpipe-utils.rs
//@ compile-flags: -Zon-broken-pipe=error
//@ only-unix because SIGPIPE is a unix thing
fn main() {
extern crate sigpipe_utils;

View File

@ -4,6 +4,7 @@
//@ aux-bin: assert-inherit-sig_ign.rs
//@ run-pass
//@ compile-flags: -Zon-broken-pipe=kill
//@ only-unix because SIGPIPE is a unix thing
#![feature(rustc_private)]

View File

@ -1,6 +1,7 @@
//@ run-pass
//@ aux-build:sigpipe-utils.rs
//@ compile-flags: -Zon-broken-pipe=kill
//@ only-unix because SIGPIPE is a unix thing
fn main() {
extern crate sigpipe_utils;

View File

@ -1,5 +1,6 @@
//@ run-pass
//@ aux-build:sigpipe-utils.rs
//@ only-unix because SIGPIPE is a unix thing
fn main() {
extern crate sigpipe_utils;

View File

@ -1,6 +1,7 @@
//@ run-pass
//@ aux-build:sigpipe-utils.rs
//@ compile-flags: -Zon-broken-pipe=kill
//@ only-unix because SIGPIPE is a unix thing
#![feature(rustc_attrs)]