From 8df891ca31802e1282abfad0242c2f41923455c6 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Sat, 21 Mar 2026 18:27:19 -0700 Subject: [PATCH] Make compile_flags features public Some toolchains might one some and not others of these, especially while some are being phased out --- cc/toolchains/args/compile_flags/BUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cc/toolchains/args/compile_flags/BUILD b/cc/toolchains/args/compile_flags/BUILD index 219152898..90d8a51de 100644 --- a/cc/toolchains/args/compile_flags/BUILD +++ b/cc/toolchains/args/compile_flags/BUILD @@ -16,6 +16,7 @@ cc_feature( name = "legacy_compile_flags_feature", args = [":legacy_compile_flags"], overrides = "//cc/toolchains/features/legacy:legacy_compile_flags", + visibility = ["//visibility:public"], ) cc_args( @@ -31,6 +32,7 @@ cc_feature( name = "user_compile_flags_feature", args = [":user_compile_flags"], overrides = "//cc/toolchains/features/legacy:user_compile_flags", + visibility = ["//visibility:public"], ) cc_args( @@ -46,6 +48,7 @@ cc_feature( name = "unfiltered_compile_flags_feature", args = [":unfiltered_compile_flags"], overrides = "//cc/toolchains/features/legacy:unfiltered_compile_flags", + visibility = ["//visibility:public"], ) cc_args(