Skip to content

Conversation

@dzbarsky
Copy link
Contributor

However, it's not enough for tool_map to be on cc_toolchain_config - it must be on the toolchain itself to properly share the same exec platform as the action requesting the toolchain. Therefore we rearrange the implementation of the cc_toolchain macro to pass it to the rule, and teach the rule to accept it from either the attribute or the cc_toolchain_config. Eventually, cc_toolchain_config can be retired, though it will be a long journey.

@dzbarsky dzbarsky force-pushed the zbarsky/tool_map branch 14 times, most recently from ee1401e to ca23f76 Compare December 27, 2025 01:54
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