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 swift's clang importer being able to see hmaps #51

Merged
merged 4 commits into from
Apr 23, 2020

Conversation

segiddins
Copy link
Member

  • Remove public hmap propagation
    It can only confuse clang, since all public headers are now visible via frameworks

  • Update shallow_since for rules_swift

  • Fix typo in hmap impl

  • Stop quoting the path to hmaps
    objc_library already have the quotes stripped, and the extra quotes break swift_library from actually seeing the headermaps

It can only confuse clang, since all public headers are now visible via frameworks
objc_library already have the quotes stripped, and the extra quotes break swift_library from actually seeing the headermaps
@segiddins segiddins requested review from ob and gyfelton April 22, 2020 23:16
Copy link
Member

@ob ob left a comment

Choose a reason for hiding this comment

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

Nice!

Copy link
Contributor

@gyfelton gyfelton left a comment

Choose a reason for hiding this comment

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

Fair to say the entry point is hdr_providers = deps where we are specifying all deps as hdr providers?

@segiddins
Copy link
Member Author

Fair to say the entry point is hdr_providers = deps where we are specifying all deps as hdr providers?

Yes, and that's why we're removing it -- we want to specify headers explicitly

@segiddins segiddins merged commit 5b43c12 into master Apr 23, 2020
@segiddins segiddins deleted the segiddins/fix-swift-hmaps branch March 20, 2021 00:34
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.

3 participants