-
Notifications
You must be signed in to change notification settings - Fork 638
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
Update go_toolchain to use execution transitons. #2286
Conversation
Is The current minimum Bazel version for rules_go is |
Host and exec behave differently. Host is the current host transition: there's only one, it depends on the default flag values, and is set for building tools to be invoked on Host. The execution transition, on the other hand, allows for multiple different execution platforms and is more flexible. Eventually I want to move everything to use the execution transition and get rid of the host, but that's not feasible anytime soon. The execution transition was added before 1.0, but I would need to search to see what version exactly. This draft PR was just created to run the tests and see if there are obvious failures. Do you have a way to run downstream projects with a release candidate? |
Ah, interesting. My understanding was that
I'm afraid not. Kubernetes is the biggest open source client but they're not using the most recent version. Most other clients are closed-source. |
Thanks for the additional commit. If you're fine with this change let's go ahead and commit (it should be a no-op until the actual toolchain transition changes land). |
Is there a way to kick off tests again? |
Ran the tests again through BuildKite. Looks good. Thanks for sending this. (I resurrected this since the rules_go minimum version of Bazel is now 1.2.0). |
For the record, I ran into problems with the |
@steeve Interesting, please do open an issue if you're able to reproduce that. I'm hoping to get a rules_go release out today with this, but we can do a point release if it causes problems. |
If you see an exec transition failure, please open a bug and let me know. The change here is a no-op: toolchains are always in the host transition currently (until bazelbuild/bazel#10523 is done), and the host transition is terminal, so these cfg changes don't change anything. |
Reviving this issue. Having a
I bisected the problem down to 88bc72a. Hence me here :) @katre do you want me to open an issue on bazel itself ? |
@steeve Can you please file an issue on Bazel with detailed reproduction steps? I'll look at is as soon as I can. |
Sure thing! |
No description provided.