PR ported from https://github.com/ziglang/zig/pull/26012
Closes #26011
psznm/zig:signal-0 into master
PR ported from https://github.com/ziglang/zig/pull/26012
Closes #26011
Uhh, sorry, didn't read the article instructing not to move the PRs ourselves until after I've moved this. I am closing this here for now then.
It is OK to move a PR where there's still potentially work to be done and/or CI needs to be run. We have no runners connected to GitHub anymore, so moving this PR is pretty much required for it to move forward.
63266a775c
409cd5b45f
I noticed a test in lib/std/posix/test.zig that was added and then deleted in one of the commits for the PR has sneaked back in during rebase when moving to codeberg. So I rebased again. Sorry about wasting CI time...
Where are you getting this "INVAL" identifier from? I don't see any precedent for this in libc headers.
I think your issue can be considered closed now that std.posix.SIG is a nonexhaustive enum, so you can do @enumFromInt(0).
Although, I just noticed that I did it only for std.os.linux.SIG and I missed std.c.SIG, so I'll open a PR for that shortly.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?