Skip to content

[5.7] Tidy up build flags and fix implicit import circular dependency (#392) #398

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
May 12, 2022

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented May 11, 2022

Cherry-pick of #392


  • Explicitly ask the compiler not to implicitly import _StringProessing. This is to avoid a circular dependency when -enable-experimental-string-processing is enabled by default.
  • Unify the build flags for modules that are built in the compiler repo into a stdlibSettings value.
  • Disable implicit _Concurrency import as well since it is how it's built in the compiler repo. This helps us catch errors before we integrate with the compiler repo.
  • Remove -enable-experimental-pairwise-build-block since SE-0348 has been implemented and enabled.
  • Update the minimum toolchain requirement to 2022-04-20.

…tlang#392)

- Explicitly ask the compiler not to implicitly import _StringProessing. This is to avoid a circular dependency when `-enable-experimental-string-processing` is enabled by default.
- Unify the build flags for modules that are built in the compiler repo into a `stdlibSettings` value.
- Disable implicit _Concurrency import as well since it is how it's built in the compiler repo. This helps us catch errors before we integrate with the compiler repo.
- Remove `-enable-experimental-pairwise-build-block` since SE-0348 has been implemented and enabled.
- Update the minimum toolchain requirement to 2022-04-20.
@rxwei rxwei requested a review from stephentyrone May 11, 2022 01:28
@rxwei
Copy link
Contributor Author

rxwei commented May 11, 2022

@swift-ci please test

Copy link
Member

@milseman milseman left a comment

Choose a reason for hiding this comment

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

LGTM, assuming it isn't superseded by #397

@rxwei rxwei changed the title Tidy up build flags and fix implicit import circular dependency (#392) [5.7] Tidy up build flags and fix implicit import circular dependency (#392) May 12, 2022
@rxwei rxwei merged commit 53a27f4 into swiftlang:swift/release/5.7 May 12, 2022
@rxwei rxwei deleted the cherry-392 branch May 12, 2022 18:04
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