Skip to content

[cxx-interop] add a build setting to control whether the <swift/bridg… #65786

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
May 9, 2023

Conversation

hyp
Copy link
Contributor

@hyp hyp commented May 9, 2023

…ing> header is shipped with compiler

rdar://109050483

Explanation:
Right now <swift/bridging> header is always shipped with the compiler. However, there exit certain build configurations where this header should not be shipped. Therefore, this change adds a new CMake and build script setting that allows the users and/or custom build preset to prevent the <swift/bridging> header from being shipped with the compiler.
Scope: CMake, build script , Swift's and C++ interoperability <swift/bridging> header
Risk: Low.
Testing: Swift build script unit tests, build toolchain, manual testing of the new flag.
PR: #65781

…ing> header is shipped with compiler

rdar://109050483
@hyp hyp requested a review from a team as a code owner May 9, 2023 03:42
@hyp
Copy link
Contributor Author

hyp commented May 9, 2023

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented May 9, 2023

@swift-ci please build toolchain

@hyp hyp merged commit 14b3e5c into swiftlang:release/5.9 May 9, 2023
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