Skip to content

Commit

Permalink
Add patch for visibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangskz committed Jul 16, 2024
1 parent 234900d commit e3db9de
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions 0001-Add-visibility-for-rust-public-aliases-for-protobuf-.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 956ce0f3fdbcd15e2eb15929512617750d0162a9 Mon Sep 17 00:00:00 2001
From: Sandy Zhang <[email protected]>
Date: Mon, 15 Jul 2024 09:44:52 -0700
Subject: [PATCH] Add visibility for rust public aliases for
'@protobuf//:protobuf_rust'

PiperOrigin-RevId: 652511009
---
rust/BUILD | 1 +
1 file changed, 1 insertion(+)

diff --git a/rust/BUILD b/rust/BUILD
index aff4d2bec..89880004a 100644
--- a/rust/BUILD
+++ b/rust/BUILD
@@ -6,6 +6,7 @@ load("//bazel/toolchains:proto_lang_toolchain.bzl", "proto_lang_toolchain")

package(
default_visibility = [
+ "//:__pkg__", # "public" targets are alias rules in //.
"//src/google/protobuf:__subpackages__",
],
)
--
2.45.2.993.g49e7a77208-goog

0 comments on commit e3db9de

Please sign in to comment.