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
2.07k stars 74 forks source link

Update `build.zig` for upcoming change in `std.Build` #41

Closed Corendos closed 1 year ago

Corendos commented 1 year ago

Description

The old step.run() and step.install() functions have been deprecated and replaced with b.addRunArtifact(step) and b.installArtifact(step). This PR introduce the required change to ensure a smooth transition.

@mitchellh I didn't take the time to update the Nix dependency as it's not configured on my machine but I can take a look if you want me to.

mitchellh commented 1 year ago

Thanks for doing this!