diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-10-22 04:43:46 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-10-29 06:20:51 -0700 |
| commit | 032152409be26f12031c6c16ac9de5e29cd08b8f (patch) | |
| tree | d6abb8c5a3d5010133422fc0342a31887cb85cae /lib/std | |
| parent | a3ddca36571993af4a575296292e17471890fc87 (diff) | |
| download | zig-032152409be26f12031c6c16ac9de5e29cd08b8f.tar.gz zig-032152409be26f12031c6c16ac9de5e29cd08b8f.zip | |
std.Io.Threaded: fix signature of dirMakeOpenPathWasi
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/Io/Threaded.zig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig index 59af60032a..bce028c13f 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; |
