Skip to content

Conversation

@compnerd
Copy link
Member

_Concurrency is being implicitly imported and then linked into the runtime (and is required for the asynchronous code). Ensure that we explicitly link against the concurrency runtime to use the correct declarations and ensure that the autolinking works properly for static and dynamic variants of the runtime.

@compnerd
Copy link
Member Author

@swift-ci please smoke test

Copy link
Member

@etcwilde etcwilde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than one test, I don't see where concurrency is used in the String Processing libraries. Can we pass -disable-implicit-import-concurrency instead and avoid having to link it?

`_Concurrency` is being implicitly imported and then linked into the
runtime. Disable the implicit import of the concurrency runtime to allow
proper control over the linkage for the library.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

@swift-ci please smoke test macOS platform

@compnerd
Copy link
Member Author

@swift-ci please test windows platform

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

2 similar comments
@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Jul 1, 2025

@swift-ci please test Windows platform

@compnerd compnerd merged commit 87b0ca4 into swiftlang:main Jul 1, 2025
3 checks passed
@compnerd compnerd deleted the linkage branch July 1, 2025 15:08
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