From 032152409be26f12031c6c16ac9de5e29cd08b8f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 22 Oct 2025 04:43:46 -0700 Subject: [PATCH] std.Io.Threaded: fix signature of dirMakeOpenPathWasi --- lib/std/Io/Threaded.zig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig index 59af60032a8feb5a8ea4db4fc020c2383e8c8edf..bce028c13fda715af85d3076f269b7e296759dd7 100644 --- a/lib/std/Io/Threaded.zig +++ b/lib/std/Io/Threaded.zig @@ -1159,7 +1159,12 @@ fn dirMakeOpenPathWindows( } } -fn dirMakeOpenPathWasi(userdata: ?*anyopaque, dir: Io.Dir, sub_path: []const u8, mode: Io.Dir.Mode) Io.Dir.MakeOpenPathError!Io.Dir { +fn dirMakeOpenPathWasi( + userdata: ?*anyopaque, + dir: Io.Dir, + sub_path: []const u8, + mode: Io.Dir.OpenOptions, +) Io.Dir.MakeOpenPathError!Io.Dir { const t: *Threaded = @ptrCast(@alignCast(userdata)); _ = t; _ = dir; -- 2.54.0