"Starlark rule transitions currently cannot read attributes behind selects."
This is a problem for my rules. I tried moving the select to a filegroups target, and it worked for selecting source files, but not build targets. Evidently filegroups destroy providers
, which makes filegroups unusable for my use case, since I need to propagate dependencies that are carried in providers.
Before I write my own "target_selection" rule, does anybody have a better workaround for this?
More generally, are there plans to remove this restriction?