mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
std: remove awareness of POLL signal
this signal seems to be deprecated and/or useless on every target
This commit is contained in:
parent
8b269f7e18
commit
80a341b411
@ -771,9 +771,6 @@ fn maybeIgnoreSignals() void {
|
||||
if (@hasField(posix.SIG, "IO") and !std.options.keep_sig_io)
|
||||
posix.sigaction(.IO, &act, null);
|
||||
|
||||
if (@hasField(posix.SIG, "POLL") and !std.options.keep_sig_poll)
|
||||
posix.sigaction(.POLL, &act, null);
|
||||
|
||||
if (@hasField(posix.SIG, "PIPE") and !std.options.keep_sig_pipe)
|
||||
posix.sigaction(.PIPE, &act, null);
|
||||
}
|
||||
|
||||
@ -144,7 +144,6 @@ pub const Options = struct {
|
||||
|
||||
crypto_fork_safety: bool = true,
|
||||
|
||||
keep_sig_poll: bool = false,
|
||||
keep_sig_io: bool = false,
|
||||
|
||||
/// By default Zig disables SIGPIPE by setting a "no-op" handler for it. Set this option
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user