aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoogler <noreply@google.com>2024-04-04 16:04:43 -0700
committerCopybara-Service <copybara-worker@google.com>2024-04-04 16:05:24 -0700
commit510c6dc9da44512309660944d07acedb508a810b (patch)
tree9c172784e377d417121c5cc59008e7ee4cca459b
parent4a62c693309887664cb733245d1c74f17a992942 (diff)
downloadbazelbuild-rules_cc-510c6dc9da44512309660944d07acedb508a810b.tar.gz
Remove out of order load lint warnings.
The copybara configuration has been broken by [] PiperOrigin-RevId: 621998904 Change-Id: I47e6b7b95bc9d8086547ae928065f67ac3f0006a
-rw-r--r--cc/defs.bzl4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/defs.bzl b/cc/defs.bzl
index a3acac7..a141dbb 100644
--- a/cc/defs.bzl
+++ b/cc/defs.bzl
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library")
+
"""Starlark rules for building C++ projects."""
load("//cc/private/rules_impl:cc_flags_supplier.bzl", _cc_flags_supplier = "cc_flags_supplier")
@@ -104,7 +106,7 @@ def cc_proto_library(**attrs):
"""
# buildifier: disable=native-cc
- native.cc_proto_library(**_add_tags(attrs))
+ cc_proto_library(**_add_tags(attrs))
def fdo_prefetch_hints(**attrs):
"""Bazel fdo_prefetch_hints rule.