https://pantsbuild.org/ logo
h

hundreds-breakfast-49010

09/05/2019, 9:44 PM
I was just talking to @enough-analyst-54434 about the difference between a
RootRule
and a
@rule
with an empty dependency list
w

witty-crayon-22786

09/09/2019, 3:57 PM
a RootRule is something that you are declaring can come in via a
product_request
(ie, at the "root" of the graph).
that means it can change per "call" to the engine: in particular, over the course of a pantsd's lifecycle
whereas an
@rule
with no arguments is created once at pants(d) start time: it's a singleton