-
Notifications
You must be signed in to change notification settings - Fork 909
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
winit 0.28.7 cause docs.rs build failure #3173
Comments
Add these lines in Cargo.toml, it currently works for me:
And then
|
This didn't help unfortunately: abey79/vsvg#59 |
you need to enable one of the platforms in winit to build. |
How would I go about that? Everything generally just works for building/testing/etc. Building docs specifically fails, and in the case of docs.rs, I obviously don't have any control on the environment. |
Are you sure that you have features enabled for winit when building? You should pass either |
Running on my project's CI, I've explicitly added "x11" and "default" in my |
Maybe you disable features when building docs? Winit itself builds its docs just fine and we also build its docs just fine. |
Several projects depending on winit 0.28.7 (including mine) appear to fail to build on https://docs.rs due to a winit error:
Examples:
The following error occurs:
It may be be caused by
x11_platform
failing to be set on headless linux hosts.I observed a similar behaviour running
cargo doc
onubuntu-latest
GitHub Actions runner. In this case, the workaround was to usemacos-latest
forcargo doc
.The text was updated successfully, but these errors were encountered: