-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat: add string_literal to module identifier allow list #1319
feat: add string_literal to module identifier allow list #1319
Conversation
I converted this to a draft while you are still working on it. When you would like a review, feel free to transition it out of the draft state. |
…aration' of github.com:lucasmarcal-faire/rules_swift_package_manager into lucas-marcal/allow_string_literal_modulemap_header_declaration
…header_declaration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please incorporate my proposed update to the comment. That should provide enough breadcrumbs to understand why we support string literals.
Co-authored-by: Chuck Grindel <chuck.grindel@gmail.com>
@Mergifyio queue |
🟠 Waiting for conditions to match
|
I guess I have to fix some tests, let me push a commit with that |
@cgrindel Failing tests are now fixed. |
It looks like you need to run |
@cgrindel done! |
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 8d4e713 |
Add string_literal to module identifier allow list.
This case seems to be pretty rare, and besides the fact that it's not mentioned on ModuleMap specs, Clang actually accepts that.
It's rare, but you can find examples by searching for
module " path:/(^|\/)*\.modulemap$/
on GithubThe motivation behind creating this PR is to add support to the swift-llbuild Package build that fails while resolving this modulemap
This PR alone doesn't fix swift-llbuild build. Some follow-up PRs will be created to add SPM include folder handling