Skip to content

Conversation

@dierksen
Copy link
Contributor

@dierksen dierksen commented Sep 30, 2022

In bazel-ios/rules_ios#562, I realized that the hmap and vfsoverlay files are passed as headers on CcInfo.compilation_context as a workaround for the lack of custom providers in the Java-side rules. As a result, rules_swift attempts to add them to the modulemaps, which leads to failures.


def _add_headers(*, headers, kind):
content.add_all(
headers,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this ending up being called in rules_swift ? I'd expect this to not be called - I wonder if there's been a regression in rules_swift - or it's not conditionally flipped off

@dierksen
Copy link
Contributor Author

Probably better fix via bazel-ios/rules_ios#603

@dierksen dierksen closed this Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants