-
Notifications
You must be signed in to change notification settings - Fork 919
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
Missing platforms on docs.rs #1028
Comments
I'm unable to find the docs.rs logs for this. Does anyone know where you'd look to see what's going on here? |
The mac logs are appearing now, and docs.rs is using a new architecture iirc. Should we close this because it affects an older alpha release? |
Having iOS (and probably android) platform docs would also be quite useful as well I think. The mobile ecosystem is slowly growing (iced-rs/iced#57) |
@ryanisaacg Let's leave this open, since the docs currently aren't generated for mobile or the web. Does anyone know of any way to have docs.rs generate docs for mobile and the web? I'm not entirely sure that's possible right now. |
I don't think we can convince it to? Another option would be a github pages branch on winit's repo with custom-built docs, but that would be a fair bit of effort. |
Looks like according to rust-lang/docs.rs#343 there are currently only 6 targets supported (none of which are Android, iOS or WASM) for which docs are built. Though, it looks rust-lang/docs.rs#346 adds support for a |
docs.rs supports all targets supported by rustup since rust-lang/docs.rs#633. You can opt-in using We don't currently expose a way to see logs for platforms besides the default, the best you can do is build the crate with docs.rs locally: https://github.com/rust-lang/docs.rs#development Usually the problem is missing dependencies which you can a PR to add following the instructions here: https://rust-lang.github.io/rust-forge/docs-rs/add-dependencies.html |
Also we have a default platform limit of 10, but we can raise that if you have a use-case for more platforms. |
So, I looked into getting more of the docs built. Currently on docs.rs, the builds are the default ( Here's the build log trace for I also looked into
This is because Anyway, I've gotten I'll let someone else look into android stuff.
It seems that the GUI doesn't populate more than 4 for me? If I specify more than 4 targets, a random subset seems to not be there. I'll file a bug with docs.rs. |
The relevant error message is
(we could probably work on trimming down how much we log) From a quick google, it looks like docs.rs needs to have
It looks like xcrun is a MacOS-only tool? There's probably not a way to install it in the build environment then unfortunately, we only have packages in the Ubuntu 18.04 repository.
Oh, that is a bug. Let me look into that. |
For some reason, https://docs.rs/winit (0.20.0-alpha1) only provides the following platforms in the "Platform" dropdown menu:
Obviously, there's more missing, but I dearly miss macOS stuff.
The text was updated successfully, but these errors were encountered: