Skip to content

Conversation

DougGregor
Copy link
Member

Add SWIFT_BRIDGING_HEADER_IS_INTERNAL option, which defaults to NO. When it is YES, use the new -internal-import-bridging-header instead of -import-objc-header. The new version treats the contents of the bridging header as if they came in through an internal import.

Tracked by rdar://161172254.

Add `SWIFT_BRIDGING_HEADER_IS_INTERNAL` option, which defaults to NO.
When it is YES, use the new `-internal-import-bridging-header` instead
of `-import-objc-header`. The new version treats the contents of the
bridging header as if they came in through an internal import.

Tracked by rdar://161172254.
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit 8e875b5 into swiftlang:main Sep 23, 2025
48 of 49 checks passed
@DougGregor DougGregor deleted the internal-import-bridging-header branch September 23, 2025 19:47
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