toolchain docs: toolchain_type attributes should use absolute label #6829
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: bug
Description of the problem / feature request:
The toolchain docs give an example where the toolchain rule references the toolchain_type by relative label:
https://docs.bazel.build/versions/master/toolchains.html
This is wrong -- even though it's syntactically correct, toolchain resolution will not work if this rule is ever used from an external repository.
Instead, the toolchain_type should always reference absolute labels, even if the target is in the same package:
Have you found anything relevant by searching the web?
Related bug: #6828
The text was updated successfully, but these errors were encountered: