Skip to content

[5.1][Serialization] Support Swift only system module #24661

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 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
Copy link
Member Author

rintaro commented May 9, 2019

@swift-ci Please test

@rintaro rintaro changed the title [Serialization] Support Swift only system module [5.1][Serialization] Support Swift only system module May 9, 2019
@swift-ci
Copy link
Contributor

swift-ci commented May 9, 2019

Build failed
Swift Test Linux Platform
Git Sha - ba6723b

@rintaro
Copy link
Member Author

rintaro commented May 10, 2019

https://ci.swift.org/job/swift-PR-Linux/13295 CMark test failed 😳

@rintaro
Copy link
Member Author

rintaro commented May 10, 2019

@swift-ci Please test Linux platform

@rintaro rintaro merged commit 72bf1e9 into swiftlang:swift-5.1-branch May 10, 2019
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