Revert previous fix - to_list() is too new, or...?

pull/13171/head
Nicolas "Pixel" Noble 5 years ago
parent ce3ba4dcdc
commit 9605c7093c
  1. 2
      bazel/upb_proto_library.bzl

@ -175,7 +175,7 @@ def _upb_proto_rule_impl(ctx):
"_WrappedGeneratedSrcsInfo (aspect should have handled this).")
cc_info = dep[_WrappedCcInfo].cc_info
srcs = dep[_WrappedGeneratedSrcsInfo].srcs
lib = cc_info.linking_context.libraries_to_link.to_list()[0]
lib = cc_info.linking_context.libraries_to_link[0]
files = _filter_none([
lib.static_library,
lib.pic_static_library,

Loading…
Cancel
Save