I am using latest version of zig, downloaded from https://ziglang.org/builds/zig-windows-x86_64-0.7.1+dfacac916.zip
the version is:
C:\Users\wsdjeg\Desktop>zig version
0.7.1+dfacac916
the test file is:
const std = @import("std");
pub fn main() !void {
const stdout = std.io.getStdOut().writer();
try stdout.print("Hello, {}!\n", .{"world"});
}
the result of zig run, zig test and zig fmt is:
C:\Users\wsdjeg\Desktop>zig run test.zig
Hello, world!
C:\Users\wsdjeg\Desktop>zig fmt test.zig
error: unable to open 'test.zig': error.Unexpected
C:\Users\wsdjeg\Desktop>zig test test.zig
Semantic Analysis [785/1153] No tests to run.
there is no extra useful information for debug this issue.
I am using latest version of zig, downloaded from https://ziglang.org/builds/zig-windows-x86_64-0.7.1+dfacac916.zip
the version is:
the test file is:
the result of
zig run,zig testandzig fmtis:there is no extra useful information for debug this issue.