Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failure to build without iterable depset #221

Merged
merged 1 commit into from
May 6, 2019

Conversation

m3rcuriel
Copy link
Contributor

This fixes the issue raised in #218.

Depsets are not backed by hash sets do not have a trivial check for existence. Thus we need to explicitly flatten the depset into a list of headers before we see if the header is in the set.

I'm not clear enough on how bindgen works to propose a more elegant fix. Doing this check at all requires flattening to a list, and I don't know how/if we could avoid doing this check.

@mfarrugi mfarrugi merged commit d28b121 into bazelbuild:master May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants