Skip to content

Overlay: perform micro-optimization on Windows, correct export #83244

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 23, 2025

Conversation

compnerd
Copy link
Member

The CRT and WinSDK overlays do not expose protocols (and should not). Avoid force load symbols for these modules. This is a minor micro-optimization for clients.

Correct the exported interface to allow building against these modules by propagating the workaround from Core to expose the swift interface.

@compnerd
Copy link
Member Author

@swift-ci please smoke test

The `CRT` and `WinSDK` overlays do not expose protocols (and should
not). Avoid force load symbols for these modules. This is a minor
micro-optimization for clients.

Correct the exported interface to allow building against these modules
by propagating the workaround from Core to expose the swift interface.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd merged commit 6f0c138 into swiftlang:main Jul 23, 2025
3 checks passed
@compnerd compnerd deleted the interface branch July 23, 2025 14:56
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