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

Native web fixes. #1118

Merged
merged 2 commits into from
Nov 29, 2021
Merged

Native web fixes. #1118

merged 2 commits into from
Nov 29, 2021

Conversation

TannerRogalsky
Copy link
Contributor

@TannerRogalsky TannerRogalsky commented Nov 15, 2021

iced_futures

  • Since there are several "platform-specific" type aliases (and a new function), I moved them into their own mod. Just makes it easier to read and minimizes the number of #[cfg(...)] annotations.
  • Added a new function boxed_stream that takes a stream of the type supported by the target architecture and boxes it accordingly.

iced_native

  • Use the iced_futures types and functions to allow the iced_native to compile on the wasm32-unknown-unknown target.

Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Awesome! The module approach is much cleaner.

Thank you 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An internal improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants