Before this was split out from the compiler into its own repo, it worked fine via zig build fmt -- file.zig
Now, if you run the standalone formatter on windows, it prints a newline as if it formatted a file but never prints its name, and it never formats the file:
Since the only thing that changed was that we have a new main function realistically, I kind of suspect the issue lies in how the args are obtained/processed before passing to fmt.run.
I haven't dug too deep into the zig compiler's main to see how that differs
Before this was split out from the compiler into its own repo, it worked fine via
zig build fmt -- file.zigNow, if you run the standalone formatter on windows, it prints a newline as if it formatted a file but never prints its name, and it never formats the file:
Since the only thing that changed was that we have a new main function realistically, I kind of suspect the issue lies in how the args are obtained/processed before passing to
fmt.run.I haven't dug too deep into the zig compiler's main to see how that differs