authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-12-19 17:38:19-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-12-23 22:15:11-08:00
log7423d6a4044bd2c92ebfe5023bd4f3ad2789c793
treec327c911f4f2cdef32bd91db6ad975b67e6ad260
parente41342af83022202c6e413cd84c12b41f19c681a

fix "hello world"

14K -> 57K

1 files changed, 4 insertions(+), 1 deletions(-)

test/standalone/simple/hello_world/hello.zig+4-1
......@@ -1,5 +1,8 @@
11const std = @import("std");
22
3var static_single_threaded_io: std.Io.Threaded = .init_single_threaded;
4const io = static_single_threaded_io.ioBasic();
5
36pub fn main() !void {
4 try std.Io.File.stdout().writeAll("Hello, World!\n");
7 try std.Io.File.stdout().writeStreamingAll(io, "Hello, World!\n");
58}