From 2cee1424616bd5c2a4fdc792722edb91e5bfea21 Mon Sep 17 00:00:00 2001 From: Sandy Zhang Date: Mon, 15 Jul 2024 09:44:52 -0700 Subject: [PATCH 1/2] 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 aff4d2bec184..89880004ace7 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__", ], ) From 92552d37b733e0721ad35ec5ab552e2caa623ab2 Mon Sep 17 00:00:00 2001 From: Sandy Zhang Date: Wed, 17 Jul 2024 09:05:54 -0700 Subject: [PATCH 2/2] Remove protobuf rust from BCR presubmits for now. Rust protobuf is in development and not intended for use / released yet. We should add this back at some point when rust is ready for release, after adding equivalent GHA presubmit tests. PiperOrigin-RevId: 653252995 --- .bcr/presubmit.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index bd9ba1d379ac..8c5a4f1963f0 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -14,7 +14,6 @@ tasks: - '@protobuf//:protobuf' - '@protobuf//:protobuf_lite' - '@protobuf//:protobuf_python' - - '@protobuf//:protobuf_rust' - '@protobuf//:protoc' - '@protobuf//:test_messages_proto2_cc_proto' - '@protobuf//:test_messages_proto3_cc_proto'