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

Filter out non-standard header extensions from module maps #912

Closed
wants to merge 1 commit into from

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.

@@ -93,7 +93,7 @@ def write_module_map(

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