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

Declare toolchain only constrained by the exec platform #9

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

alexeagle
Copy link
Contributor

Typically we expect rules fetch toolchains for use during actions, so the toolchain selection should be based on the execution platform.
It's possible that tools may need to run on the target platform, but rulesets could still declare a second toolchain constrained by the target.

The code here is incorrect, as when the exec platform differs from the target platform, toolchain selection will find no matching toolchain

Typically we expect rules fetch toolchains for use during actions, so the toolchain selection should be based on the execution platform.
It's possible that tools may need to run on the target platform, but rulesets could still declare a second toolchain constrained by the target.

The code here is incorrect, as when the exec platform differs from the target platform, toolchain selection will find *no* matching toolchain
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

Successfully merging this pull request may close these issues.

2 participants