Skip to content

Commit 0538f26

Browse files
committed
Make cc_toolchain_info.bzl public
This is required to be able to use it in the unix and windows toolchains that get generated in a separate repository.
1 parent 9737c9e commit 0538f26

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

cc/toolchains/cc_toolchain_info.bzl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@
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-
"//cc/private/toolchain/...",
23-
"//tests/rule_based_toolchain/...",
24-
])
25-
2616
# Note that throughout this file, we never use a list. This is because mutable
2717
# types cannot be stored in depsets. Thus, we type them as a sequence in the
2818
# provider, and convert them to a tuple in the constructor to ensure

cc/toolchains/impl/legacy_converter.bzl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ load(
2727
legacy_with_feature_set = "with_feature_set",
2828
)
2929

30-
visibility([
31-
"//cc/toolchains/...",
32-
"//cc/private/toolchain/...",
33-
"//tests/rule_based_toolchain/...",
34-
])
35-
3630
# Note that throughout this file, we sort anything for which the order is
3731
# nondeterministic (eg. depset's .to_list(), dictionary iteration).
3832
# This allows our tests to call equals() on the output,

0 commit comments

Comments
 (0)