Skip to content

[CMake] Always disable string processing import #64187

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
Mar 8, 2023

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
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