diff options
| author | ruki <[email protected]> | 2020-07-09 00:40:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-07-08 22:03:34 +0800 |
| commit | 519535ca82c093b011ccec2ba4c8378c117f72c0 (patch) | |
| tree | 5e10220f230eb465b11f03564a4e2218a17cb29d /tests/projects/zig/console/src | |
| parent | c8bb0d3edb89d1ca0d2f4615b949eab952421478 (diff) | |
add zig support
Diffstat (limited to 'tests/projects/zig/console/src')
| -rw-r--r-- | tests/projects/zig/console/src/main.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/zig/console/src/main.zig b/tests/projects/zig/console/src/main.zig new file mode 100644 index 000000000..fcfd5e0fa --- /dev/null +++ b/tests/projects/zig/console/src/main.zig @@ -0,0 +1,6 @@ +const std = @import("std"); + +pub fn main() !void { + const stdout = std.io.getStdOut().outStream(); + try stdout.print("Hello, {}!\n", .{"world"}); +} |
