leafwing-input-manager 0.16 fails to build: "The platform you're compiling for is not supported by winit"
Crate name
leafwing-input-manager
Build failure link
https://docs.rs/crate/leafwing-input-manager/0.16.0/builds
Additional details
First reported in https://github.com/Leafwing-Studios/leafwing-input-manager/issues/668.
This seems to be a winit / platform bug. I'm not sure how to resolve this: docs build correctly for me locally, and I'd prefer not to turn off winit-related features (used for examples) to get functional docs.
Looks like #2120 reports the same problem. Should we set that flag for our crate too? It would be nice to fix this upstream.
Should we set that flag for our crate too?
yes, good idea :)
It would be nice to fix this upstream.
could you elaborate? Which upstream?
On docs.rs :) Is there a way to configure the local environment that the docs are building in to better match what happens when users run cargo doc locally?
On docs.rs :)
Now that's a tricky one, and would perhaps even involve a cargo change, if even possible.
Is there a way to configure the local environment that the docs are building in to better match what happens when users run cargo doc locally?
I'm not sure if I understand what you are asking. I assume you want to build locally the same way as docs.rs does.
The simplest way that would catch many problems, but not all of them is using cargo docs-rs.
You can also run a "real" docs.rs environment following this documentation, but it's a little more complex then.
@alice-i-cecile sorry for the delay, is this still an open issue?
Thanks for the ping. I'm going to close this as "can't reproduce" but if it comes up again I'll reopen.