Commit 80a341b411

Andrew Kelley <andrew@ziglang.org>
2025-10-28 00:18:14
std: remove awareness of POLL signal
this signal seems to be deprecated and/or useless on every target
1 parent 8b269f7
Changed files (2)
lib/std/start.zig
@@ -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);
 }
lib/std/std.zig
@@ -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