Skip to content

Build the fragile swiftCxx statically on all platforms #68239

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

Conversation

compnerd
Copy link
Member

Mark the Cxx module as fragile and build it statically on all platforms. C++ Interop is an upcoming feature and has not yet declared ABI stability and so is always meant to be statically linked.

compnerd and others added 3 commits August 31, 2023 07:55
This library is still fragile as C++ Interop is in preview. Mark it as
fragile to match cxxStdlib.
This adjusts Cxx to be built statically on all platforms including
Windows.  The static library support is sufficient to support this
module linking statically on Windows.
Remove flag that is unsupported on 5.9
@compnerd compnerd requested a review from a team as a code owner August 31, 2023 14:56
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

Please test with following PRs:
swiftlang/swift-installer-scripts#244

@swift-ci please build toolchain windows platform

@compnerd
Copy link
Member Author

Please test with following PRs:
swiftlang/swift-installer-scripts#244

@swift-ci please build toolchain windows platform

@compnerd compnerd merged commit e4315e0 into swiftlang:release/5.9.0 Aug 31, 2023
@compnerd compnerd deleted the the-binding-is-fragile-5.9.0 branch August 31, 2023 19:59
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