aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-10-22 04:43:46 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-10-29 06:20:51 -0700
commit032152409be26f12031c6c16ac9de5e29cd08b8f (patch)
treed6abb8c5a3d5010133422fc0342a31887cb85cae /lib/std
parenta3ddca36571993af4a575296292e17471890fc87 (diff)
downloadzig-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.zig7
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;