mitchellh / libxev

libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig and C API.
MIT License
1.97k stars 65 forks source link

Correct ordering of fields and corresponding enum fields for latest Zig. #63

Closed moderation closed 1 year ago

moderation commented 1 year ago

Ordering change to correct compile errors on latest Zig release that (via Discord) 'enforces unions with explicit enum tags define their fields in the same order as the enum'.

mitchellh commented 1 year ago

Thanks! I'll update the Zig version in the flake later.