my idea was that if you could assume that a given codegen target doesn’t depend on the results of previous targets, you could generate all of the targets with no dependencies / exports, and then do all the injection in a separate step that walked them in a topo ordering