fix: add missing Io parameter for different configuration option
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m0s
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m0s
This commit is contained in:
@@ -25,7 +25,7 @@ fn logFn(
|
|||||||
}, 0o600) catch @panic("Could not append to log file");
|
}, 0o600) catch @panic("Could not append to log file");
|
||||||
defer std.posix.close(fd);
|
defer std.posix.close(fd);
|
||||||
|
|
||||||
var buffer = std.Io.File.Writer.init(.{ .handle = fd }, &buf);
|
var buffer = std.Io.File.Writer.init(.{ .handle = fd }, std.debug.debug_threaded_io, &buf);
|
||||||
var writer = &buffer.interface;
|
var writer = &buffer.interface;
|
||||||
defer writer.flush() catch unreachable;
|
defer writer.flush() catch unreachable;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user