std: update fchmodat tests

This commit is contained in:
Andrew Kelley
2025-12-11 22:35:55 -08:00
parent 68621afd2e
commit e1cf753db7
5 changed files with 243 additions and 313 deletions
+1 -1
View File
@@ -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();