[feat] Support bin-on-bin deps by transitioning binaries into libraries#762
[feat] Support bin-on-bin deps by transitioning binaries into libraries#762ParaLock wants to merge 8 commits intoaspect-build:mainfrom
Conversation
|
|
|
|
Closing -- I love this idea but as discussed at some length I think it has to be handled with a macro that's inappropriate for the core ruleset itself since we can't actually have a "binary" target that doesn't generate the declared/expected binary in some configurations. I may circle back to this and try to take a crack at it since we've had a variety of bin-on-bin issues. |


Our use case of rules_py would benefit from an ability for binary targets to depend on other binary targets in a manner amenable to composition of virtual environments. This PR attempts to achieve said functionality by transitioning a binary into a library if it is depended upon by another binary.
Changes are visible to end-users: no
Test plan