diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-11 22:35:55 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:09 -0800 |
| commit | e1cf753db72425fd944f6fe9f2a991fb1de3f942 (patch) | |
| tree | 4b9c33aa2cd4e0da5ad7e5fec9f0de45c6747507 /lib/std/Build.zig | |
| parent | 68621afd2e203d82b6f53bf4ede951827fa98db8 (diff) | |
| download | zig-e1cf753db72425fd944f6fe9f2a991fb1de3f942.tar.gz zig-e1cf753db72425fd944f6fe9f2a991fb1de3f942.zip | |
std: update fchmodat tests
Diffstat (limited to 'lib/std/Build.zig')
| -rw-r--r-- | lib/std/Build.zig | 2 |
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(); |
