zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 80a341b4114ac171a2592423027e0ea4015fcf81 (tree)
parent 8b269f7e18ee1e0874b7cbf7cf2853b7e34b6a36
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Mon, 27 Oct 2025 16:18:14 -0700

std: remove awareness of POLL signal

this signal seems to be deprecated and/or useless on every target

Diffstat:
Mlib/std/start.zig | 3---
Mlib/std/std.zig | 1-
2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/lib/std/start.zig b/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); } diff --git a/lib/std/std.zig b/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