From 2cb6dec8146cd2ed4273ae3f71254e350e5ced30 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 12 Dec 2025 10:41:58 -0800 Subject: [PATCH] Refactored and rearranged Bazel rules - OSS-specific code now lives in `bazel/private/oss`. - UPB rules (which are not truly public, as UPB is meant to be a backend to other impls) are moved from `bazel/` -> `upb/bazel/` PiperOrigin-RevId: 843750379 --- .../bazel_support/rust_bindings_from_cc_aspect.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rs_bindings_from_cc/bazel_support/rust_bindings_from_cc_aspect.bzl b/rs_bindings_from_cc/bazel_support/rust_bindings_from_cc_aspect.bzl index eb8d86785..c3f095b6a 100644 --- a/rs_bindings_from_cc/bazel_support/rust_bindings_from_cc_aspect.bzl +++ b/rs_bindings_from_cc/bazel_support/rust_bindings_from_cc_aspect.bzl @@ -232,7 +232,7 @@ def _rust_bindings_from_cc_aspect_impl(target, ctx): # 1. We don't need Crubit bindings for `_cc_lib` for protobuf interop, we use protoc for that. # 2. We know that transitive deps of `_cc_lib` will get Crubit bindings through the "3 aspects" # path if they are needed. - if "@protobuf//bazel/private:google_cc_proto_library.bzl%cc_proto_aspect" not in ctx.aspect_ids: + if "@protobuf//bazel/private/google:cc_proto_library.bzl%cc_proto_aspect" not in ctx.aspect_ids: return [] # We use a fake generator only when we are building the real one, in order to avoid