diff options
Diffstat (limited to 'examples/hello_world_zig/src')
-rw-r--r-- | examples/hello_world_zig/src/main.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/hello_world_zig/src/main.zig b/examples/hello_world_zig/src/main.zig new file mode 100644 index 0000000..c74a3de --- /dev/null +++ b/examples/hello_world_zig/src/main.zig @@ -0,0 +1,6 @@ +const warn = @import("std").debug.warn; + +pub fn main() void +{ + warn("Hello, world!\n"); +} |