diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-10-25 14:43:14 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-25 14:43:14 +0530 |
| commit | 8a5ce1d615bd2495308da0d36ebd95e00f16eced (patch) | |
| tree | 82f536e3aa71f490db4a74804c1c7f81dfd5b1f4 /compiler/rustc_parse/src/parser/expr.rs | |
| parent | d2d44f619f98383a26c1f8e4da15862d98467d4e (diff) | |
| parent | 093b075d327d1c7c7e0730e46f1d5c2d4aa47f5a (diff) | |
| download | rust-8a5ce1d615bd2495308da0d36ebd95e00f16eced.tar.gz rust-8a5ce1d615bd2495308da0d36ebd95e00f16eced.zip | |
Rollup merge of #102587 - Enselic:rustc-unix_sigpipe, r=jackh726
rustc: Use `unix_sigpipe` instead of `rustc_driver::set_sigpipe_handler` This is the first (known) step towards starting to use `unix_sigpipe` in the wild. Eventually, `rustc_driver::set_sigpipe_handler` can be removed and all clients can use `unix_sigpipe` instead. For now we just start using `unix_sigpipe` in one place: `rustc` itself. It is easy to manually verify this change. If you remove `#[unix_sigpipe = "sig_dfl"]` and run `./x.py build` you will get an ICE when you do `./build/x86_64-unknown-linux-gnu/stage1/bin/rustc --help | false`. Add back `#[unix_sigpipe = "sig_dfl"]` and the ICE disappears again. PR that added `set_sigpipe_handler`: https://github.com/rust-lang/rust/pull/49606 Tracking issue for `unix_sigpipe`: #97889 Not sure exactly how to label this PR. Going with T-libs for now since this is a T-libs feature. ````@rustdoc```` labels +T-libs
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
