Skip to content

[5.1 04-24-2019][Serialization] Support Swift only system module #24662

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

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented May 9, 2019

(Cherry pick of #24620 for swift-5.1-branch-04-24-2019 reviewed by @nathawes @jrose-apple)

rdar://problem/50516314

Previously 'isSystemModule()' returns true only if the module is:
- Standard library
- Clang module and that is `IsSystem`
- Swift overlay for clang `IsSystem` module

Now:
- Clang module and that is `IsSystem`; or
- Swift overlay for clang `IsSystem` module
- Swift module found in either of these directories:
  - Runtime library directoris (including stdlib)
  - Frameworks in `-Fsystem` directories
  - Frameworks in `$SDKROOT/System/Library/Frameworks/` (Darwin)
  - Frameworks in `$SDKROOT/Library/Frameworks/` (Darwin)

rdar://problem/50516314
(cherry picked from commit d3d30ee)
@rintaro rintaro requested a review from a team as a code owner May 9, 2019 23:29
@rintaro
Copy link
Member Author

rintaro commented May 9, 2019

@swift-ci Please test

@rintaro rintaro merged commit d638e14 into swiftlang:swift-5.1-branch-04-24-2019 May 10, 2019
@rintaro rintaro deleted the 5.1-04-24-2019-serialization-swiftonly-system-module branch May 10, 2019 05:06
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