Skip to content

[GeneratePCH] Don't assert when libSwiftScan is not initialized #1795

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
Feb 7, 2025

Conversation

cachemeifyoucan
Copy link
Contributor

Do not assert if libSwiftScan is not initialized when querying PCH generation feature. If libSwiftScan is not initialized, then the feature is not available so just return false for not available.

rdar://141554457

Do not assert if libSwiftScan is not initialized when querying PCH
generation feature. If libSwiftScan is not initialized, then the feature
is not available so just return false for not available.

rdar://141554457
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@cachemeifyoucan cachemeifyoucan merged commit 1f44670 into swiftlang:main Feb 7, 2025
3 checks passed
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