Skip to content
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

Include iOS in the conditional compilation for mac platforms #635

Merged
merged 1 commit into from
Feb 19, 2020

Conversation

lionel-faber
Copy link
Contributor

@lionel-faber lionel-faber commented Feb 19, 2020

Hi there! We recently updated the quinn version used in maidsafe/quic-p2p to 0.5.3. But after this update we noticed that our Android & iOS builds were failing. This is because rustls-native-certs doesn't support Android and iOS (See rustls/rustls-native-certs#3).

Since it's a feature-enabled dependency (enabled by default), I disabled the default features and tried compiling quinn for Android & iOS. The Android build was successful, but the iOS build failed.

The platform-native API for Mac and iOS are the same so adding this condition gave us a passing build and the iOS libraries built were able to successfully establish a connection and exchange messages.

Copy link
Member

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@djc djc merged commit 605c9a5 into quinn-rs:master Feb 19, 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.

2 participants