Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 9.0.0-pre.20250109.2 (2025-01-17)
Baseline: 457d248 New features: - Materializer functions now have access to the label of the rule they are running on as ctx.label . Important changes: - Extra targets provided to `ctx.expand_location` now expand to their executable (if any) instead of resulting in an error if they provide a number of files different from one. RELNOTES[INC]: The `--incompatible_locations_prefers_executable` flag has been added and enabled, which makes it so that `ctx.expand_location` expands `$(locations :x)` to the executable of an extra target `:x` if it provides one and the number of files provided by it is not one. This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim.
- Loading branch information