about summary refs log tree commit diff
path: root/lang/zig/hello.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lang/zig/hello.zig')
-rw-r--r--lang/zig/hello.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/zig/hello.zig b/lang/zig/hello.zig
new file mode 100644
index 0000000..56b2066
--- /dev/null
+++ b/lang/zig/hello.zig
@@ -0,0 +1,6 @@
+const std = @import("std");
+
+pub fn main() !void {
+    const stdout = std.io.getStdOut().writer();
+    try stdout.print("Hello, {}!\n", .{"world"});
+}