about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-02-26 10:27:42 +0100
committerGitHub <noreply@github.com>2024-02-26 10:27:42 +0100
commit5bd909227dd8cc3ec5127369282167cda40d1261 (patch)
treefd6fdb168c20377c682bec6060f086b196623005 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent91d337dfa8fd42832e7d4606d1737ccb5626a7aa (diff)
parentf5b9eaf18f3486feaf6bf765409449e37b38f9d2 (diff)
downloadrust-5bd909227dd8cc3ec5127369282167cda40d1261.tar.gz
rust-5bd909227dd8cc3ec5127369282167cda40d1261.zip
Rollup merge of #121554 - Enselic:sigaction, r=oli-obk
Don't unnecessarily change `SIGPIPE` disposition in `unix_sigpipe` tests

In `auxiliary/sigpipe-utils.rs`, all we want to know is the current `SIGPIPE` disposition. We should not change it. So use `libc::sigaction` instead of `libc::signal`. That way we can also remove the code that restores it.

Part of https://github.com/rust-lang/rust/issues/97889.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions