Hi, https://ziglang.org/learn/samples/ has a hello-world.zig example file. If I try to run in with zig-x86_64-windows-0.16.0-dev.2676+4e2cec265 I get following error
zig run hello-world.zig C:\zig\hello-world.zig:4:13: error: root source file struct 'fs' has no member named 'File' try std.fs.File.stdout().writeAll("hello world!\n"); ^~~~ lib\std\fs.zig:1:1: note: struct declared here //! File System. ^~~~~~~~~~~~~~~~ referenced by: callMain [inlined]: lib\std\start.zig:677:59 WinStartup: lib\std\start.zig:477:17 2 reference(s) hidden; use '-freference-trace=4' to see all references
#Cannot run hello-world.zig
1 messages · Page 1 of 1 (latest)
the example won't work on 0.16.0-dev versions since all that got moved to Io interface
Thanks