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 4 times, most recently from 0ac92cf to ad72f0e Compare January 10, 2026 01:45
Copy link
Collaborator

@armandomontanez armandomontanez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together! I'll try to take a closer look early next week. If I don't get back to you in a timely manner, please ping me with a comment here.

@dzbarsky dzbarsky force-pushed the zbarsky/tool_map branch 3 times, most recently from 21a6ab9 to 79f0585 Compare January 12, 2026 07:57
@dzbarsky
Copy link
Contributor Author

Thanks for putting this together! I'll try to take a closer look early next week. If I don't get back to you in a timely manner, please ping me with a comment here.

@armandomontanez PTAL :)

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