From ae919915f6c3c1827311ebc6ec3c5883a1cec08e Mon Sep 17 00:00:00 2001 From: Krzysztof Wolicki Date: Sun, 7 Jul 2024 12:10:19 +0200 Subject: [PATCH] std.Build.Cache.Path: fix makeOpenPath signature --- lib/std/Build/Cache/Path.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Build/Cache/Path.zig b/lib/std/Build/Cache/Path.zig index 27dd15184b..d7266da9b0 100644 --- a/lib/std/Build/Cache/Path.zig +++ b/lib/std/Build/Cache/Path.zig @@ -58,7 +58,7 @@ pub fn openFile( return p.root_dir.handle.openFile(joined_path, flags); } -pub fn makeOpenPath(p: Path, sub_path: []const u8, opts: fs.OpenDirOptions) !fs.Dir { +pub fn makeOpenPath(p: Path, sub_path: []const u8, opts: fs.Dir.OpenDirOptions) !fs.Dir { var buf: [fs.max_path_bytes]u8 = undefined; const joined_path = if (p.sub_path.len == 0) sub_path else p: { break :p std.fmt.bufPrint(&buf, "{s}" ++ fs.path.sep_str ++ "{s}", .{