authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-08 14:49:23 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-08 14:49:23 -07:00
log41878815ba2fb2ae28194e482ae05629e4ffb79d
treebfd61bc988b9c74f9a1cbed7d4483af6b958b268
parent8da91adc27dd29f61ab65436c82475ae2ae6cc1c
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

Dir: update to_std to zig 0.16.0


1 files changed, 2 insertions(+), 2 deletions(-)

Dir.zig+2-2
......@@ -74,8 +74,8 @@ pub const OpenDirFlags = packed struct {
7474};
7575
7676/// temporary method for interacting with other std apis we don't have our own version of
77pub fn to_std(self: Dir) std.fs.Dir {
78 return .{ .fd = @intFromEnum(self.fd) };
77pub fn to_std(self: Dir) std.Io.Dir {
78 return .{ .handle = @intFromEnum(self.fd) };
7979}
8080
8181pub fn readFileAlloc(self: Dir, allocator: std.mem.Allocator, file_path: [:0]const u8, max_bytes: usize) ![:0]u8 {