-
Notifications
You must be signed in to change notification settings - Fork 1.2k
run_return example always builds (and fails) for non-desktop platforms #1064
Copy link
Copy link
Closed
Labels
D - easyLikely easier than most tasks hereLikely easier than most tasks hereH - good first issueIdeal for new contributorsIdeal for new contributorsS - docsAwareness, docs, examples, etc.Awareness, docs, examples, etc.S - enhancementWouldn't this be the coolest?Wouldn't this be the coolest?
Description
Unfortunately it looks like there isn't an easy way to fully exclude the window_run_return example for certain platforms, like mobile platforms that don't support EventLoop 2.0. The result is a compilation error when building all examples. I found that we can get it compiling by slapping cfg everywhere, but the result is a really ugly example.
Any better ideas on what to do here? The end goal is to be able to run cargo build --examples for all platforms without error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
D - easyLikely easier than most tasks hereLikely easier than most tasks hereH - good first issueIdeal for new contributorsIdeal for new contributorsS - docsAwareness, docs, examples, etc.Awareness, docs, examples, etc.S - enhancementWouldn't this be the coolest?Wouldn't this be the coolest?