4 ms·
Is the https://ziglearn.org https://ziglearn.org site up to date with the latest versions of the language and standard library? The initial "Hello, World" examp
by Oreb 6y ago
Is the https://ziglearn.org https://ziglearn.org site up to date with the latest versions of the language and standard library? The initial "Hello, World" example fails to compile for me. I get:
Semantic Analysis [533/803] ./main.zig:4:14: error: container 'std.debug' has no member called 'print'
std.debug.print("Hello, {}!\n", .{"World"});
- pfg_ 6y agoIt's the opposite - you have version 0.6.0, but the hello world there is for the latest master version of zig which can be downloaded at https://ziglang.org/download https://ziglang.org/download