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

Make toolchain vars available but don't automatically set them #2969

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

illicitonion
Copy link
Collaborator

@illicitonion illicitonion commented Oct 28, 2024

Previously if a target depended on a toolchain which exposed $(FOO), we would automatically set $FOO as an env var.

This was not correct. Toolchains should make Make variables available for expansion in env vars, but should not automatically promote them to action env.

If you want $FOO set, you should set $FOO=$(FOO) in the appropriate env var attribute.

Previously if a target depended on a toolchain which exposed $(FOO), we
would automatically set $FOO as an env var.

This was not correct. Toolchains should make Make variables available
for expansion in env vars, but should not automatically promote them to
action env.

If you want $FOO set, you should set $FOO=$(FOO) in the appropriate env
var attribute.
@illicitonion illicitonion added this pull request to the merge queue Oct 29, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 29, 2024
@illicitonion illicitonion added this pull request to the merge queue Oct 29, 2024
Merged via the queue into bazelbuild:main with commit 4e593b6 Oct 29, 2024
4 checks passed
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