Allow composing rule implementations #16710
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Rules-API
API for writing rules/aspects: providers, runfiles, actions, artifacts
type: feature request
Description of the feature request:
It would be nice of the implementation of a Starlark rule could call the implementation of another rule.
There are two current answers to this functionality:
bazel query
, which is not idealI am not very certain if this is the right approach: this came up within the context of writing custom C++ rules and it could very well be that a better
cc_common
API would make this request superfluous. On the surface, however, I think it's useful to at least discuss it.What underlying problem are you trying to solve with this feature?
No response
Which operating system are you running Bazel on?
No response
What is the output of
bazel info release
?No response
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: