| author | |
| committer | |
| log | 7423d6a4044bd2c92ebfe5023bd4f3ad2789c793 |
| tree | c327c911f4f2cdef32bd91db6ad975b67e6ad260 |
| parent | e41342af83022202c6e413cd84c12b41f19c681a |
14K -> 57K1 files changed, 4 insertions(+), 1 deletions(-)
test/standalone/simple/hello_world/hello.zig+4-1| ... | ... | @@ -1,5 +1,8 @@ |
| 1 | 1 | const std = @import("std"); |
| 2 | 2 | |
| 3 | var static_single_threaded_io: std.Io.Threaded = .init_single_threaded; | |
| 4 | const io = static_single_threaded_io.ioBasic(); | |
| 5 | ||
| 3 | 6 | pub fn main() !void { |
| 4 | try std.Io.File.stdout().writeAll("Hello, World!\n"); | |
| 7 | try std.Io.File.stdout().writeStreamingAll(io, "Hello, World!\n"); | |
| 5 | 8 | } |