Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
incompatible_depset_for_libraries_to_link_getter: use depsets in linking_context in C++ Starlark API #8118
linking_context.libraries_to_link will return a depset instead of a list. To make code compatible with the list and the depset, simply check whether the value returned from linking_context.libraries_to_link has the attribute "to_list".
referenced this issue
Apr 24, 2019
How will I be able to use the resulting depset? Will I be able to pass it directly as an input to
I often need the dynamic libraries for purposes other than feeding them to a linker, e.g. to provide them to an interpreter for code that depends on native libraries.
Sure, but my question is what about the future? Will there be a way to use the depset without flattening it to eagerly? Internally,