Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak
DescendantAddresses
so that call sites can no-op when no matc…
…hes (#10012) For dep inference, we need to use `DescendantAddress(src_root)` for every source root, but this will sometimes fail. For example, Pants has a source root `3rdparty/protobuf`, but doesn't have any BUILD files in it. We may end up wanting to change the overall CI behavior so that `./pants list ::` would stop failing when no targets exist, but we do not yet want to change the CI behavior until further discussion. So, this adds an optional field to `DescendantAddresses` so that call sites can determine the behavior they want. [ci skip-rust-tests] [ci skip-jvm-tests]
- Loading branch information