Enable bzl visibility for Protobuf Rust rules

PiperOrigin-RevId: 520319698
pull/12361/head
Marcel Hlopko 2 years ago committed by Copybara-Service
parent dbf97258bd
commit d9a8622fac
  1. 2
      rust/aspects.bzl
  2. 2
      rust/defs.bzl

@ -13,6 +13,8 @@ load("@upb//bazel:upb_proto_library.bzl", "UpbWrappedCcInfo", "upb_proto_library
proto_common = proto_common_do_not_use
visibility(["//rust/..."])
RustProtoInfo = provider(
doc = "Rust protobuf provider info",
fields = {

@ -11,6 +11,8 @@ load(
"rust_upb_proto_library_aspect",
)
visibility(["//rust/..."])
def rust_proto_library(name, deps, **args):
"""Declares all the boilerplate needed to use Rust protobufs conveniently.

Loading…
Cancel
Save