rustc_session::config::sigpipe

Constant SIG_DFL

source
pub const SIG_DFL: u8 = 3;
Expand description

Change SIGPIPE to SIG_DFL so that the process is killed when trying to write to a closed pipe. This is usually the desired behavior for CLI apps that produce textual output that you want to pipe to other programs such as head -n 1.