diff --git a/src/google/protobuf/BUILD.bazel b/src/google/protobuf/BUILD.bazel index 32b1a248607e8..c712a0a6a5882 100644 --- a/src/google/protobuf/BUILD.bazel +++ b/src/google/protobuf/BUILD.bazel @@ -727,7 +727,7 @@ filegroup( filegroup( name = "cpp_features_proto_srcs", srcs = ["cpp_features.proto"], - visibility = ["//src/google/protobuf/compiler/cpp:__pkg__"], + visibility = ["//:__subpackages__"], ) filegroup(