Skip to content

Darwin: kevent64_s not defined anymore #21200

@steeve

Description

@steeve

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_s at:
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_s to c.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_s on macOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions