Skip to content

[5.2][SourceKit] Disable module system headers validation in all SourceKit requests #29202

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

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jan 14, 2020

Cherry-pick of #29180 and #29196 into swift-5.2-branch originally reviewed by @nathawes

This validation may call many stat(2). Since we don't expect system files are edited. Disable it for SourceKit requests. Even if they are edited, manual builds can validates and updates them if necessary.

rdar://problem/58550697

This validation may call many `stat(2)`. Since we don't expect system
files are edited. Disable it for code completion, even if they are
edited, they are validated when the user manually build the project.

rdar://problem/58550697
(cherry picked from commit ec70a40)
in all SourceKit requests.
This validation may call many stat(2). Since we don't expect system files
are edited. Disable it for SourceKit requests. Even if they are edited,
manual builds can validates and updates them.

rdar://problem/58550697
(cherry picked from commit 951b853)
@rintaro rintaro requested a review from a team January 14, 2020 23:26
@rintaro
Copy link
Member Author

rintaro commented Jan 14, 2020

@swift-ci Please test

@rintaro rintaro merged commit ba443dd into swiftlang:swift-5.2-branch Jan 15, 2020
@rintaro rintaro deleted the 5.2-sourcekit-rdar58550697 branch January 28, 2020 23:51
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