Skip to content

[Serialization] Remark only on stderr when loading a mismatching swiftmodule #64074

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

xymus
Copy link
Contributor

@xymus xymus commented Mar 3, 2023

Swiftmodules built by a mismatching compiler are loaded if the mismatch is only on the last digit of the compiler version. In such a case, write a remark directly to stderr to avoid showing this error in IDE while keeping it for debugging purposes.

rdar://105881894

Swiftmodules built by a mismatching compiler are loaded if the mismatch
is only on the last digit of the compiler version. In such a case, write
a remark directly to stderr to avoid showing this error in IDE but keep
it for debugging purposes.

rdar://105881894
@xymus xymus requested a review from tshortli March 3, 2023 19:39
@xymus
Copy link
Contributor Author

xymus commented Mar 3, 2023

@swift-ci Please smoke test

@xymus xymus merged commit 2a7aa37 into swiftlang:main Mar 3, 2023
@xymus xymus deleted the report-mismatching-module-version-to-stderr branch March 3, 2023 23:14
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.

3 participants