Skip to content

Fix ReactiveKit failure seen in source compatibility suite #31288

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 2 commits into from
Apr 25, 2020

Conversation

beccadax
Copy link
Contributor

One of the commits in #31196 caused a regression when canImport() was used to test the importability of a module which has module interfaces for other targets, but not the current one. In practice, this happens with Combine and other iOS 13-introduced modules, because they don't have module interface files for 32-bit ARM.

The right solution is to refactor diagnosis during module loading so that we can guarantee that canImport() won't diagnose anything, but this PR simply adds a similar test case and reverts the commit to fix the broken bot.

Fixes rdar://62335415.

Master source compat suite job swiftlang#4912 failed to build ReactiveKit because Combine does not have an interface for older iOS architectures that were retired before it was released, and a change to module loading diagnosis started to consider switfinterfaces. Add a test case that covers this situation.
@beccadax
Copy link
Contributor Author

@beccadax
Copy link
Contributor Author

@swift-ci smoke test

@harlanhaskins
Copy link
Contributor

😢

@varungandhi-apple
Copy link
Contributor

Oh well, that's unfortunate. 😢

@beccadax
Copy link
Contributor Author

@swift-ci please smoke test macOS platform

@beccadax beccadax merged commit 92e3b5f into swiftlang:master Apr 25, 2020
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