Skip to content

Conversation

@MaxDesiatov
Copy link
Contributor

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.

Part of SR-9307.

cc @kateinoigakukun

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.
@MaxDesiatov MaxDesiatov requested a review from ktoso September 4, 2021 10:54
@MaxDesiatov
Copy link
Contributor Author

@swift-ci please smoke test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@MaxDesiatov MaxDesiatov merged commit cd90d84 into swiftlang:main Sep 7, 2021
@MaxDesiatov MaxDesiatov deleted the maxd/fix-missing-concurrency branch September 7, 2021 19:41
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