Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Everything in the top-level `engine.py` is meant to be publically consumable by plugin authors. Meanwhile, `engine/internals` holds the implementation details and we never expect plugin authors to need to import from it. Right now, the rules related to targets are in `target.py`, which is a leak - users don't need to access these rules directly. Less philosophically, this allows us to circumvent an upcoming cycle between `engine/targets.py` and `engine/internals/graph.py`: the dependencies rule will need to use `Owners`, which is defined in `graph.py`, which imports `target.py`. [ci skip-rust-tests]
- Loading branch information