diff --git a/test/standalone/simple/hello_world/hello.zig b/test/standalone/simple/hello_world/hello.zig index 37c5c4bb1bf2e8204b3b7b87788b1dbc6af80220..d7083942304c4cc24aa71cbfa45221b95c490ff5 100644 --- a/test/standalone/simple/hello_world/hello.zig +++ b/test/standalone/simple/hello_world/hello.zig @@ -1,5 +1,8 @@ const std = @import("std"); +var static_single_threaded_io: std.Io.Threaded = .init_single_threaded; +const io = static_single_threaded_io.ioBasic(); + pub fn main() !void { - try std.Io.File.stdout().writeAll("Hello, World!\n"); + try std.Io.File.stdout().writeStreamingAll(io, "Hello, World!\n"); }