Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
toolchain
parameter to the affected actions (#2140)
This is part of the migration of Automatic Exec Groups ([AEGs design doc](https://docs.google.com/document/d/1-rbP_hmKs9D639YWw5F_JyxPxL2bi6dSmmvj_WXak9M/edit#heading=h.5mcn15i0e1ch)). In this PR I've added a `toolchain` param to the affected actions (actions for which we can't detect if their tools/executable are coming from a toolchain). That's why sometimes it's set to None. The `toolchain` param is visible from Bazel 6.0, which rules_rust already supports. **Important note to reviewers**: Please check if the correct toolchain type is added for each action. I’ve done my best, but additional precaution is not harmful. 🙂 Also note that this toolchain param is not used right now since AEGs are still not enabled (there should be no errors). This is mostly step forward for the internal changes, and I will focus on enabling AEGs in Bazel after it's fully tested inside Google.
- Loading branch information