aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Cache/Path.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-12-14 23:35:33 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-12-23 22:15:09 -0800
commit16bd2e137e56f842a9ff5e015425f9e08eeb97fd (patch)
tree4a4b46fd3eeeb52fa964f8753515e8c0ca4a6781 /lib/std/Build/Cache/Path.zig
parent4458e423bf2d2cf485031d1f527e407bfc9113df (diff)
downloadzig-16bd2e137e56f842a9ff5e015425f9e08eeb97fd.tar.gz
zig-16bd2e137e56f842a9ff5e015425f9e08eeb97fd.zip
compiler: fix most compilation errors from std.fs changes
Diffstat (limited to 'lib/std/Build/Cache/Path.zig')
-rw-r--r--lib/std/Build/Cache/Path.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/Build/Cache/Path.zig b/lib/std/Build/Cache/Path.zig
index 51f9e7aecd..3ef4dec658 100644
--- a/lib/std/Build/Cache/Path.zig
+++ b/lib/std/Build/Cache/Path.zig
@@ -106,6 +106,7 @@ pub fn statFile(p: Path, io: Io, sub_path: []const u8) !Io.Dir.Stat {
pub fn atomicFile(
p: Path,
+ io: Io,
sub_path: []const u8,
options: Io.Dir.AtomicFileOptions,
buf: *[fs.max_path_bytes]u8,
@@ -115,7 +116,7 @@ pub fn atomicFile(
p.sub_path, sub_path,
}) catch return error.NameTooLong;
};
- return p.root_dir.handle.atomicFile(joined_path, options);
+ return p.root_dir.handle.atomicFile(io, joined_path, options);
}
pub fn access(p: Path, io: Io, sub_path: []const u8, flags: Io.Dir.AccessOptions) !void {