diff --git a/bazel/common/proto_info.bzl b/bazel/common/proto_info.bzl index 887e1cef4e..b6fa806d7c 100644 --- a/bazel/common/proto_info.bzl +++ b/bazel/common/proto_info.bzl @@ -1,7 +1,7 @@ """ProtoInfo""" load("@proto_bazel_features//:features.bzl", "bazel_features") -load("//bazel/private:proto_info.bzl", _ProtoInfo = "ProtoInfo") # buildifier: disable=bzl-visibility +load("//bazel/private:proto_info.bzl", _ProtoInfo = "ProtoInfo") # This resolves to Starlark ProtoInfo in Bazel 8 or with --incompatible_enable_autoload flag ProtoInfo = getattr(bazel_features.globals, "ProtoInfo", None) or _ProtoInfo