diff options
| author | Martin Nordholts <enselic@gmail.com> | 2022-07-05 19:56:22 +0200 |
|---|---|---|
| committer | Martin Nordholts <enselic@gmail.com> | 2022-08-28 19:46:45 +0200 |
| commit | 4b3aa91b03c3dbfd05becbd890b4b06574092aab (patch) | |
| tree | c3b6fa964f2de879d8e6b89e806389e1d15666eb /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff | |
| parent | f48af912ea9a9726ff851a3e4a809e1d2daeb0ba (diff) | |
| download | rust-4b3aa91b03c3dbfd05becbd890b4b06574092aab.tar.gz rust-4b3aa91b03c3dbfd05becbd890b4b06574092aab.zip | |
Support `#[unix_sigpipe = "inherit|sig_dfl|sig_ign"]` on `fn main()`
This makes it possible to instruct libstd to never touch the signal handler for `SIGPIPE`, which makes programs pipeable by default (e.g. with `./your-program | head -n 1`) without `ErrorKind::BrokenPipe` errors.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
