mod: adjust to latest release of zig for file writing option
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 55s

This commit is contained in:
2026-01-17 10:55:09 +01:00
parent 57631f1905
commit 40ced30a57

View File

@@ -25,7 +25,7 @@ fn logFn(
}, 0o600) catch @panic("Could not append to log file");
defer std.posix.close(fd);
var buffer = std.Io.File.Writer.init(.{ .handle = fd }, std.Options.debug_io, &buf);
var buffer = fs.File.stderr().writer(&buf);
var writer = &buffer.interface;
defer writer.flush() catch unreachable;