Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add toolchain parameter to the affected actions #2140

Merged
merged 4 commits into from
Oct 4, 2023

Conversation

kotlaja
Copy link
Contributor

@kotlaja kotlaja commented Aug 29, 2023

This is part of the migration of Automatic Exec Groups (AEGs design doc).

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.

@scentini scentini self-requested a review September 4, 2023 08:41
rust/private/rustc.bzl Outdated Show resolved Hide resolved
rust/private/rustc.bzl Outdated Show resolved Hide resolved
@kotlaja
Copy link
Contributor Author

kotlaja commented Sep 14, 2023

@scentini Can you please take a look once again? :)

@scentini scentini merged commit f6bba6e into bazelbuild:main Oct 4, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants