-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Darwin: kevent64_s not defined anymore #21200
Copy link
Copy link
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Zig Version
0.14.0-dev.1304+7d54c62c8
Steps to Reproduce and Observed Behavior
Trying to update libxev to the latest zig, I'm running into a undefined decl for
std.posix.system.kevent64_sat:https://github.com/mitchellh/libxev/blob/43c7e4b3308f359e5b758db2d824d7c447f4ed3f/src/backend/kqueue.zig#L1672-L1675
The breaking change happened in e8c4e79
It seems it might just be as easy as importing
darwin.kevent64_stoc.zig, in which case I'll send a PR.Also cc @mitchellh for visibility.
Expected Behavior
Should be able to use
std.posix.system.kevent64_son macOS.