From 41878815ba2fb2ae28194e482ae05629e4ffb79d Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Mon, 8 Jun 2026 14:49:23 -0700 Subject: [PATCH] Dir: update to_std to zig 0.16.0 --- Dir.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dir.zig b/Dir.zig index c5e3872326c43384edaea350acbda595cbdcaadb..4f85d2861b79e17ea9e6539feae86ac82d0df709 100644 --- a/Dir.zig +++ b/Dir.zig @@ -74,8 +74,8 @@ pub const OpenDirFlags = packed struct { }; /// temporary method for interacting with other std apis we don't have our own version of -pub fn to_std(self: Dir) std.fs.Dir { - return .{ .fd = @intFromEnum(self.fd) }; +pub fn to_std(self: Dir) std.Io.Dir { + return .{ .handle = @intFromEnum(self.fd) }; } pub fn readFileAlloc(self: Dir, allocator: std.mem.Allocator, file_path: [:0]const u8, max_bytes: usize) ![:0]u8 { -- 2.54.0