From f3137eb6c0ad9d5a5578980a0b7bb4e3bb8e0cde Mon Sep 17 00:00:00 2001 From: Xavier Bonaventura Date: Tue, 2 Dec 2025 19:43:33 +0100 Subject: [PATCH] Make rule-based toolchain providers publicly available This is required to implement #517 For details see #525 --- cc/toolchains/cc_toolchain_info.bzl | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/cc/toolchains/cc_toolchain_info.bzl b/cc/toolchains/cc_toolchain_info.bzl index 38148b463..6e162de45 100644 --- a/cc/toolchains/cc_toolchain_info.bzl +++ b/cc/toolchains/cc_toolchain_info.bzl @@ -13,14 +13,7 @@ # limitations under the License. """All providers for rule-based bazel toolchain config.""" -# Until the providers are stabilized, ensure that rules_cc is the only place -# that can access the providers directly. -# Once it's stabilized, we *may* consider opening up parts of the API, or we may -# decide to just require users to use the public user-facing rules. -visibility([ - "//cc/toolchains/...", - "//tests/rule_based_toolchain/...", -]) +visibility("public") # Note that throughout this file, we never use a list. This is because mutable # types cannot be stored in depsets. Thus, we type them as a sequence in the