Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
340 B
Rust
Raw Normal View History

//@ run-pass
//@ aux-build:sigpipe-utils.rs
//@ compile-flags: -Zon-broken-pipe=error
2024-04-18 16:50:06 -04:00
//@ only-unix because SIGPIPE is a unix thing
fn main() {
extern crate sigpipe_utils;
// `-Zon-broken-pipe=error` is active, so we expect SIGPIPE to be ignored.
sigpipe_utils::assert_sigpipe_handler(sigpipe_utils::SignalHandler::Ignore);
}