Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Windows? #20

Open
Danaozhong opened this issue Jun 27, 2024 · 1 comment
Open

Support for Windows? #20

Danaozhong opened this issue Jun 27, 2024 · 1 comment

Comments

@Danaozhong
Copy link

Hi, thanks for providing this rule! I was wondering if Windows is a supported target platform? I was trying a project that uses bazel_env, but the execution failed with:

 INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/bazel_env.sh
FATAL: ExecuteProgram(C:\users\1234\_bazel_danaozhong(xy\2an7bb7k\execroot\_main\bazel-out\bazel_env-opt\bin\bazel_env.sh) failed: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("C:\users\1234\_bazel_danaozhong(xy\2an7bb7k\execroot\_main\bazel-out\bazel_env-opt\bin\bazel_env.sh"): %1 is not a valid Win32 application.
 (error: 193)

Sorry, I am a bazel noob, and am just trying to use it. Thanks for your feedback!

@fmeum
Copy link
Collaborator

fmeum commented Jun 27, 2024

It doesn't support Windows yet, but I would like to change that.

Since it relies on direnv, I don't know whether it can easily support e.g. PowerShell or a native Windows command prompt. Which shell would you want to use it with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants