-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-windowsMicrosoft WindowsMicrosoft Windowszig fmt
Milestone
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-windowsMicrosoft WindowsMicrosoft Windowszig fmt