Skip to content

Commit f3137eb

Browse files
committed
Make rule-based toolchain providers publicly available
This is required to implement bazelbuild#517 For details see bazelbuild#525
1 parent eeff234 commit f3137eb

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

cc/toolchains/cc_toolchain_info.bzl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,7 @@
1313
# limitations under the License.
1414
"""All providers for rule-based bazel toolchain config."""
1515

16-
# Until the providers are stabilized, ensure that rules_cc is the only place
17-
# that can access the providers directly.
18-
# Once it's stabilized, we *may* consider opening up parts of the API, or we may
19-
# decide to just require users to use the public user-facing rules.
20-
visibility([
21-
"//cc/toolchains/...",
22-
"//tests/rule_based_toolchain/...",
23-
])
16+
visibility("public")
2417

2518
# Note that throughout this file, we never use a list. This is because mutable
2619
# types cannot be stored in depsets. Thus, we type them as a sequence in the

0 commit comments

Comments
 (0)