Skip to content

Support dynamic execution requirements with cc_tool#718

Open
keith wants to merge 1 commit into
bazelbuild:mainfrom
keith:ks/support-dynamic-execution-requirements-with-cc_tool
Open

Support dynamic execution requirements with cc_tool#718
keith wants to merge 1 commit into
bazelbuild:mainfrom
keith:ks/support-dynamic-execution-requirements-with-cc_tool

Conversation

@keith
Copy link
Copy Markdown
Member

@keith keith commented May 13, 2026

Some execution requirements, like those based on the Xcode installation
providers, are not known statically and therefore cannot be hardcoded in
tags. This adds a new provider that users can provide as a dependency of
the cc_tool to propagate these dynamic requirements.

There isn't a rule to construct this provider because if you can
hardcode it in a rule's definition you should just use tags instead

Some execution requirements, like those based on the Xcode installation
providers, are not known statically and therefore cannot be hardcoded in
tags. This adds a new provider that users can provide as a dependency of
the cc_tool to propagate these dynamic requirements.

There isn't a rule to construct this provider because if you can
hardcode it in a rule's definition you should just use `tags` instead
@keith keith requested review from c-mita, pzembrod and trybka as code owners May 13, 2026 22:06
@keith
Copy link
Copy Markdown
Member Author

keith commented May 13, 2026

cc @armandomontanez

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.

1 participant