std.Io: rename EventLoop to IoUring

`std.Io.Evented` is introduced to select an appropriate Io
implementation depending on OS
This commit is contained in:
Andrew Kelley 2025-10-15 14:47:41 -07:00
parent 81b1bfbfbb
commit 1e81c3a925
2 changed files with 4 additions and 1 deletions

View file

@ -557,7 +557,10 @@ test {
const Io = @This();
pub const EventLoop = @import("Io/EventLoop.zig");
pub const Evented = switch (builtin.os.tag) {
.linux => @import("Io/IoUring.zig"),
else => void,
};
pub const Threaded = @import("Io/Threaded.zig");
pub const net = @import("Io/net.zig");