summaryrefslogtreecommitdiff
path: root/bazel
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-06-17 12:50:45 -0700
committerJoshua Haberman <jhaberman@gmail.com>2019-06-17 12:50:45 -0700
commit493e9b2614df79728deb40d5ec91edefa91a89c7 (patch)
treef504e94c0a5b4784b5786241e57b2423b6e7f71a /bazel
parent6ce5e722f16e74deff65db87eb1244f4396b2832 (diff)
Build fixes from fuzz target.
Diffstat (limited to 'bazel')
-rw-r--r--bazel/upb_proto_library.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazel/upb_proto_library.bzl b/bazel/upb_proto_library.bzl
index 503925e..bf2e33a 100644
--- a/bazel/upb_proto_library.bzl
+++ b/bazel/upb_proto_library.bzl
@@ -175,7 +175,7 @@ def _upb_proto_rule_impl(ctx):
"_WrappedGeneratedSrcs (aspect should have handled this).")
cc_info = dep[_WrappedCcInfo].cc_info
srcs = dep[_WrappedGeneratedSrcs].srcs
- lib = cc_info.linking_context.libraries_to_link[0]
+ lib = cc_info.linking_context.libraries_to_link.to_list()[0]
files = _filter_none([
lib.static_library,
lib.pic_static_library,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback