aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-12-11 22:35:55 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-12-23 22:15:09 -0800
commite1cf753db72425fd944f6fe9f2a991fb1de3f942 (patch)
tree4b9c33aa2cd4e0da5ad7e5fec9f0de45c6747507 /lib/std/Build.zig
parent68621afd2e203d82b6f53bf4ede951827fa98db8 (diff)
downloadzig-e1cf753db72425fd944f6fe9f2a991fb1de3f942.tar.gz
zig-e1cf753db72425fd944f6fe9f2a991fb1de3f942.zip
std: update fchmodat tests
Diffstat (limited to 'lib/std/Build.zig')
-rw-r--r--lib/std/Build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build.zig b/lib/std/Build.zig
index 085254fdde..b7300cb5df 100644
--- a/lib/std/Build.zig
+++ b/lib/std/Build.zig
@@ -1698,7 +1698,7 @@ pub fn addCheckFile(
return Step.CheckFile.create(b, file_source, options);
}
-pub fn truncateFile(b: *Build, dest_path: []const u8) (Io.Dir.MakeError || Io.Dir.StatPathError)!void {
+pub fn truncateFile(b: *Build, dest_path: []const u8) (Io.Dir.MakeError || Io.Dir.StatFileError)!void {
const io = b.graph.io;
if (b.verbose) log.info("truncate {s}", .{dest_path});
const cwd = Io.Dir.cwd();