-
Notifications
You must be signed in to change notification settings - Fork 439
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
Windows support #197
Comments
Bazel mainline is already aware of this issue, so I think Rust will "Just Work" once it gets cleaned up there: bazelbuild/bazel#7122 |
Thanks for figuring out that this is an upstream issue at the moment. When
it's fixed, I would be surprised if everything just works.
In general the rules are written using the action apis, but there are
places where system dependencies and unix assumptions leak in.. and then
there is also some ignorance around where windows behavior is different (at
least on my part).
…On Sun, Feb 24, 2019, 13:04 bspeice ***@***.***> wrote:
Closed #197 <#197>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#197 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACLjeEaaYCUM2YHUsuVZ4hWcRWK2Sm4eks5vQtQjgaJpZM4bOXU2>
.
|
Fair; but changing the quoting behavior isn't hard relative to fixing how process are constructed upstream. Will take a look again once the next version of bazel is released. |
I second @mfarrugi, I don't think this will work out of the box. At least I know protobuf support won't (I might even added specific comments about windows support). |
I realize that Windows isn't always a first-class supported citizen, but it's been harder to set up than I expected.
In WORKSPACE, I've added a compiler with:
But when I actually try to compile:
If it's helpful, there were some earlier issues with symlinks:
I've tried with both the MSVC and GNU toolchains, no luck. I think at least the
ld
path needs quotations, but even when that's added, I still get the same failures. Is there something else that can be done to figure out how best to support Windows?EDIT: What's going on is that the args expansion that's supposed to happen via
"$@"
isn't expanding; is this an issue with Bazel itself, that therun_shell
action isn't expanding "$@" correctly?The text was updated successfully, but these errors were encountered: