about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2022-10-25 08:01:31 +0900
committerGitHub <noreply@github.com>2022-10-25 08:01:31 +0900
commitd0ffd20a756be1334195ca3cc5fdf0127c1e6358 (patch)
treeb5a5a964027a222e70a770f008af9a70799c83f4 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentb09ce608a8c5d998e4b4eb14e9c0c25ac4538969 (diff)
parent5e624bf4bad3156f63ca95702b7bd6246751ded5 (diff)
downloadrust-d0ffd20a756be1334195ca3cc5fdf0127c1e6358.tar.gz
rust-d0ffd20a756be1334195ca3cc5fdf0127c1e6358.zip
Rollup merge of #103495 - Enselic:rustdoc-unix_sigpipe, r=notriddle
rustdoc: Use `unix_sigpipe` instead of `rustc_driver::set_sigpipe_handler`

Do what was already done for `rustc` in #102587, namely start using `unix_sigpipe` instead of `rustc_driver::set_sigpipe_handler`.

After this has been merged, we can completely remove `rustc_driver::set_sigpipe_handler`.

PR that added `set_sigpipe_handler`: https://github.com/rust-lang/rust/pull/49606

Tracking issue for `unix_sigpipe`: #97889

Verification of this change
---------------------------

1. Remove `#[unix_sigpipe = "sig_dfl"]`
1. Run `./x.py build`
1. Run `./build/aarch64-apple-darwin/stage1/bin/rustdoc --help | false`
1. Observe ICE
1. Add back `#[unix_sigpipe = "sig_dfl"]`
1. Run `./x.py build`
1. Run `./build/aarch64-apple-darwin/stage1/bin/rustdoc --help | false`
1. Observe ICE fixed

``@rustbot`` labels +T-rustdoc
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions