woven-planet/go-zserio

Bazel Windows Issues

Closed this issue · 1 comments

Currently, several Bazel commands in this repository don't work on Windows:

  • I couldn't get buildifier to run under Windows. It fails with:
FATAL: ExecuteProgram(C:\users\...\...(...\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\buildifier.bash) failed:
ERROR: src/main/native/windows/process.cc(202): CreateProcessW("C:\users\...\...(...\execroot\__main__\bazel-out\x64_windows-fastbuild\bin\buildifier.bash"): %1 is not a valid Win32 application.

root cause seems to be bazelbuild/buildtools#346 .

I think #136 should fix this as I have switched to using pre-built binaries of buildifier.

Please test and tell me if it works on your Windows machine.