-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
0001-Add-visibility-for-rust-public-aliases-for-protobuf-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|