diff --git a/.gitignore b/.gitignore index a4fa9c9..383e8e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.zig-cache/ # ---> macOS # General .DS_Store diff --git a/hello.zig b/hello.zig index c303e5c..c4fd694 100644 --- a/hello.zig +++ b/hello.zig @@ -1,7 +1,6 @@ const std = @import("std"); pub fn main() !void { - const stdout = std.io.getStdOut().writer(); - try stdout.print("Hello, {s}!\n", .{"world"}); + std.debug.print("Hello, {s}!\n", .{"world"}); }