Commit 64c826a
authored
fix: declare rustfmt aspect action toolchain (bazelbuild#4128)
The --incompatible_auto_exec_groups flag requires Starlark actions to
declare whether their executable/tools come from an action toolchain.
This is not a Bazel default today, but it is exposed through strict
preset configurations and is intended to catch rules that rely on
implicit action toolchain inference.
rustfmt_aspect runs rustfmt from rules_rust's rustfmt toolchain, but the
formatting action does not declare that action toolchain. Declare the
matching rustfmt toolchain so the action's toolchain behavior is
explicit without changing its inputs or execution model.1 parent bd2a8f0 commit 64c826a
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
0 commit comments