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

[bazel.build] Problem with /rules/lib/builtins/Subrule: Mention AEG specifically #24067

Closed
jacky8hyf opened this issue Oct 23, 2024 · 2 comments
Assignees
Labels
team-Documentation Documentation improvements that cannot be directly linked to other team labels team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website type: documentation (cleanup) untriaged

Comments

@jacky8hyf
Copy link

Page link:

https://bazel.build/rules/lib/builtins/Subrule

Problem description (include actual vs expected text, if applicable):

Fuzzy error message when I try to use toolchains within a subrule:

"Error: subrules using toolchains must enable automatic exec-groups"

Presumably it is a requirement to enable AEG by setting --incompatible_auto_exec_groups or _use_auto_exec_groups in the rule(), but this requirement is not stated in the document.

Where do you see this issue? (include link to specific section of the page, if applicable)

No response

Any other information you'd like to share?

No response

@jacky8hyf jacky8hyf added team-Documentation Documentation improvements that cannot be directly linked to other team labels type: documentation (cleanup) untriaged labels Oct 23, 2024
@iancha1992 iancha1992 added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Oct 23, 2024
@kotlaja
Copy link
Contributor

kotlaja commented Oct 23, 2024

Thanks for raising this issue! Fix is under way. In the meanwhile, for the migration to Automatic Exec Groups (AEGs), please check https://bazel.build/extending/auto-exec-groups#migration-aegs.

@meteorcloudy
Copy link
Member

@bazel-io fork 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Documentation Documentation improvements that cannot be directly linked to other team labels team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website type: documentation (cleanup) untriaged
Projects
None yet
Development

No branches or pull requests

7 participants