diff --git a/lib/std/log.zig b/lib/std/log.zig index 28a3774626..11a8d1fed2 100644 --- a/lib/std/log.zig +++ b/lib/std/log.zig @@ -110,7 +110,7 @@ fn log( const held = std.debug.getStderrMutex().acquire(); defer held.release(); const stderr = std.io.getStdErr().writer(); - nosuspend stderr.print(format, args) catch return; + nosuspend stderr.print(format ++ "\n", args) catch return; } } }