Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel 8 compile error fix #19576

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions bazel/private/cc_proto_aspect.bzl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Exposes cc_proto_aspect to rules_rust"""

load("//bazel/private:bazel_cc_proto_library.bzl", _cc_proto_aspect = "cc_proto_aspect") # buildifier: disable=bzl-visibility
load("//bazel/private:native.bzl", _native_cc_proto_aspect = "native_cc_proto_aspect") # buildifier: disable=bzl-visibility

cc_proto_aspect = _cc_proto_aspect if not hasattr(native, "cc_proto_library") else _native_cc_proto_aspect
cc_proto_aspect = _cc_proto_aspect
2 changes: 0 additions & 2 deletions bazel/private/native.bzl
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"""Renames toplevel symbols so they can be exported in Starlark under the same name"""

native_proto_common = proto_common_do_not_use

native_cc_proto_aspect = cc_proto_aspect
Loading