zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 032152409be26f12031c6c16ac9de5e29cd08b8f (tree)
parent a3ddca36571993af4a575296292e17471890fc87
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Wed, 22 Oct 2025 04:43:46 -0700

std.Io.Threaded: fix signature of dirMakeOpenPathWasi

Diffstat:
Mlib/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 @@ -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;