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

backend/io_uring: fix build for zig 0.13 #101

Closed Sh4d1 closed 2 months ago

Sh4d1 commented 2 months ago

As per https://github.com/ziglang/zig/blob/0.13.0/lib/std/os/linux/io_uring_sqe.zig#L318 it should be a linux.kernel_timespec.

Sh4d1 commented 2 months ago

@mitchellh can we get this merged ? (building with libxev is broken on zig 0.13 without it)

mitchellh commented 2 months ago

Yep thanks!