Skip to content

StdlibUnittest: import _Concurrency explicitly #3469

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 2 commits into from
Sep 4, 2021

Conversation

kateinoigakukun
Copy link
Member

No description provided.

StdlibUnittest is built with -disable-implicit-concurrency-module-import
and it uses concurrency feature. Therefore, without explicit import,
StdlibUnittest.swiftmodule doesn't have IMPORTED_MODULE entry of
_Concurrency. And it results link-failure when static linking because
swift_Concurrency is not linked.
Copy link

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

This looks nice 👍

@MaxDesiatov
Copy link

Submitted upstream as swiftlang#39175

@MaxDesiatov MaxDesiatov merged commit 59ff6b4 into swiftwasm Sep 4, 2021
@kateinoigakukun kateinoigakukun deleted the katei/fix-missing-concurrency-link branch April 20, 2022 08: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.

2 participants