Skip to content

Option: add -libc as an option for Swift tools #67453

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

Merged
merged 1 commit into from
Jul 22, 2023
Merged

Conversation

compnerd
Copy link
Member

Ensure that we process -libc in swift-symbolgraph-extract and swift-api-extract. This option is used by Windows to determine the C ABI to use and thus impacts the ABI exposed by the ClangImporter to the Swift interface. This partially enables the use of swift package dump-symbol-graph on Windows.

Ensure that we process `-libc` in `swift-symbolgraph-extract` and
`swift-api-extract`.  This option is used by Windows to determine the C
ABI to use and thus impacts the ABI exposed by the ClangImporter to the
Swift interface.  This partially enables the use of
`swift package dump-symbol-graph` on Windows.
@compnerd
Copy link
Member Author

CC: @QuietMisdreavus

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please test macOS platform

@compnerd
Copy link
Member Author

Please test with following PRs:
swiftlang/swift-docc#665

@swift-ci please test macOS platform

@compnerd compnerd merged commit d163261 into swiftlang:main Jul 22, 2023
@compnerd compnerd deleted the libc branch July 22, 2023 16:28
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