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

fix: allow disabling exec_tools toolchain from looking up an interpreter #2194

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

rickeylev
Copy link
Contributor

This allow the exec_interpreter attribute to propagate None even though it's a label
with a default value. Such attributes can't directly be set to None because None
means to use the default. To work around that, a sentinel target is used, which allows
breaking the dependency on the default and triggering the rule to use None instead.

A null exec interpreter is necessary in environments that don't provide a separate Python
interpreter.

@rickeylev rickeylev added this pull request to the merge queue Sep 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 6, 2024
@rickeylev rickeylev added this pull request to the merge queue Sep 6, 2024
Merged via the queue into bazelbuild:main with commit f4596fb Sep 6, 2024
4 checks passed
@rickeylev rickeylev deleted the fix.optiona.exec.interpreter branch September 6, 2024 21:20
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