From 9605c7093c269a4767b9c4a57e2ca021c725644d Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 19 Jul 2019 00:46:17 +0200 Subject: [PATCH] Revert previous fix - to_list() is too new, or...? --- bazel/upb_proto_library.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/upb_proto_library.bzl b/bazel/upb_proto_library.bzl index d62770b951..ab8b409769 100644 --- a/bazel/upb_proto_library.bzl +++ b/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,