diff --git a/src/unicode/props_uucode.zig b/src/unicode/props_uucode.zig index 9813ecf43..bee942422 100644 --- a/src/unicode/props_uucode.zig +++ b/src/unicode/props_uucode.zig @@ -88,7 +88,8 @@ pub fn main() !void { var stdout = std.fs.File.stdout().writer(&buf); try t.writeZig(&stdout.interface); // Use flush instead of end because stdout is a pipe when captured by - // the build system, and pipes cannot be truncated (especially on Windows). + // the build system, and pipes cannot be truncated (Windows returns + // INVALID_PARAMETER, Linux returns EINVAL). try stdout.interface.flush(); // Uncomment when manually debugging to see our table sizes. diff --git a/src/unicode/symbols_uucode.zig b/src/unicode/symbols_uucode.zig index 1a7e20252..794ca5bab 100644 --- a/src/unicode/symbols_uucode.zig +++ b/src/unicode/symbols_uucode.zig @@ -35,7 +35,8 @@ pub fn main() !void { var stdout = std.fs.File.stdout().writer(&buf); try t.writeZig(&stdout.interface); // Use flush instead of end because stdout is a pipe when captured by - // the build system, and pipes cannot be truncated (especially on Windows). + // the build system, and pipes cannot be truncated (Windows returns + // INVALID_PARAMETER, Linux returns EINVAL). try stdout.interface.flush(); // Uncomment when manually debugging to see our table sizes.