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

ToolchainTypeLookupUtil swallows error for missing targets #12306

Closed
katre opened this issue Oct 19, 2020 · 0 comments
Closed

ToolchainTypeLookupUtil swallows error for missing targets #12306

katre opened this issue Oct 19, 2020 · 0 comments
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Configurability platforms, toolchains, cquery, select(), config transitions type: bug

Comments

@katre
Copy link
Member

katre commented Oct 19, 2020

If a target used as a toolchain type does not exist, we get a generic error message:

ERROR: While resolving toolchains for target //:sample: Target //subpackage:toolchain_type was referenced as a toolchain type, but does not provide ToolchainTypeInfo
WARNING: errors encountered while analyzing target '//:sample': it will not be built

Instead we should get specific error information about the fact that (in this case) //:toolchain_type does not exist.

@katre katre self-assigned this Oct 19, 2020
@katre katre added P2 We'll consider working on this in future. (Assignee optional) team-Configurability platforms, toolchains, cquery, select(), config transitions type: bug labels Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Configurability platforms, toolchains, cquery, select(), config transitions type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant