For some reason, attempting to use zig fmt will fail on windows if the path uses / instead of \:
PS D:\test> zig version
0.4.0+6d73e5de
PS D:\test> zig fmt ./src/schema.zig
unable to open './src/schema.zig': error.BadPathName
PS D:\test> zig fmt .\src\schema.zig
PS D:\test>
No other part of zig cares if you use / or \ on windows (but linux will only accept /), so this seems like an oversight.
For some reason, attempting to use
zig fmtwill fail on windows if the path uses/instead of\:No other part of zig cares if you use
/or\on windows (but linux will only accept/), so this seems like an oversight.