From 53b9004290c73ac3e0f0a505501b2b3e2c275dba Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Fri, 29 Jan 2021 11:15:46 +0100 Subject: [PATCH] Fix visibility for //tcmalloc:llvm Related: https://github.com/bazelbuild/bazel/issues/12925 --- tcmalloc/BUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tcmalloc/BUILD b/tcmalloc/BUILD index 7ab03b66a..3f910da14 100644 --- a/tcmalloc/BUILD +++ b/tcmalloc/BUILD @@ -32,7 +32,10 @@ config_setting( flag_values = { "@bazel_tools//tools/cpp:compiler": "clang", }, - visibility = ["//visibility:private"], + visibility = [ + "//tcmalloc/internal:__subpackages__", + "//tcmalloc/testing:__subpackages__", + ], ) cc_library(