Skip to content

Commit

Permalink
Fix visibility for //tcmalloc:llvm
Browse files Browse the repository at this point in the history
Due to bazelbuild/bazel@cac82cf, future Bazel version will enforce
visibility check on keys of select(). This PR fixes visibilty of
//tcmalloc:llvm so that projects depending on tcmalloc can still be able
to build with Bazel@HEAD.

Related: bazelbuild/bazel#12925
  • Loading branch information
meteorcloudy committed Jan 29, 2021
1 parent 8e0435d commit 8a6623a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tcmalloc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8a6623a

Please sign in to comment.