mirror of
https://github.com/ziglang/zig.git
synced 2026-02-18 23:39:17 +00:00
std.Build.Cache.Path: fix makeOpenPath signature
This commit is contained in:
parent
c40708a2ce
commit
ae919915f6
@ -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}", .{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user