Skip to content

Fix run_return example build error on non-desktop platforms#1067

Merged
Osspial merged 1 commit intorust-windowing:masterfrom
alasher:example_fix
Jul 25, 2019
Merged

Fix run_return example build error on non-desktop platforms#1067
Osspial merged 1 commit intorust-windowing:masterfrom
alasher:example_fix

Conversation

@alasher
Copy link
Copy Markdown
Contributor

@alasher alasher commented Jul 23, 2019

  • Tested on all platforms changed
  • cargo fmt has been run on this branch
  • Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
    • N/A
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
    • N/A
  • Created or updated an example program if it would help users understand this functionality
  • Updated feature matrix, if new features were added or implemented
    • N/A

Fixes #1064. Tested cargo build --examples for macOS and iOS, iOS build now works with this change. I wrote a comment explaining the platform selection because most of the other examples don't have any platform-specific code.

@Osspial Osspial merged commit a28b605 into rust-windowing:master Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

run_return example always builds (and fails) for non-desktop platforms

2 participants