Skip to content

ModuleInterface: sanitize long version numbers when collecting user versions from textual interface files #39408

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
Sep 23, 2021

Conversation

nkcsgexi
Copy link
Contributor

Some Swift module versions are beyond the scope of llvm::VersionTuple(), therefore we need to sanitize the most
trivial bits so that we can handle most cases in versioned canImport queries.

…ersions from textual interface files

Some Swift module versions are beyond the scope of llvm::VersionTuple(), thus we need to sanitize the most
trivial bits so that we can handle most cases in versioned canImport query.
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi merged commit d7dd0e6 into swiftlang:main Sep 23, 2021
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.

1 participant