Skip to content

Conversation

@Azoy
Copy link
Contributor

@Azoy Azoy commented Mar 7, 2023

The issue here is that a configuration that has SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING disabled doesn't pass the flag to implicitly disable the module import, but when building the stdlib modules on said configurations, the compiler will try to link them against string processing because, well, it's an implicit import. Just always disable the implicit import for every stdlib module now.

Resolves: rdar://106326062 & rdar://106374161

@Azoy
Copy link
Contributor Author

Azoy commented Mar 7, 2023

@swift-ci please test

Copy link
Contributor

@egorzhdan egorzhdan left a comment

Choose a reason for hiding this comment

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

Thanks!

@egorzhdan egorzhdan merged commit 947eefb into swiftlang:main Mar 8, 2023
@Azoy Azoy deleted the no-more-sp branch March 8, 2023 16:26
edymtt added a commit to edymtt/swift that referenced this pull request Aug 7, 2025
Since swiftlang#64187 we are not importing automatically StringProcessing when
building the stdlib -- this is especially important for StdlibUnittest,
since it needs to run on older OSes.

Addresses rdar://157622116
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