Bazel Windows Issues
Closed this issue · 1 comments
Danaozhong commented
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 .
- internal/parser/BUILD.bazel uses
sh_binary
, which is not supported on Windows.