Skip to content
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

Platform selection in metadata #412

Closed
gnzlbg opened this issue Sep 19, 2019 · 3 comments
Closed

Platform selection in metadata #412

gnzlbg opened this issue Sep 19, 2019 · 3 comments

Comments

@gnzlbg
Copy link

gnzlbg commented Sep 19, 2019

It would be nice if one could specify a list of platforms to build the docs for in the metadata section, maybe supporting how these docs are built.

For example, the libc crate currently builds the docs of the crate for pretty much all platforms that the nightly-x86_64-unknown-linux-gnu host supports, using cargo-xbuild (cargo xdoc) for platforms for which rustup does not ship a libcore (https://docs.rs/libc/0.2.63/libc/ - see thee "Documentation for other platforms links").

@jyn514
Copy link
Member

jyn514 commented Dec 7, 2019

See also #343

@jyn514
Copy link
Member

jyn514 commented Mar 17, 2020

This is now supported! #633

@jyn514 jyn514 closed this as completed Mar 17, 2020
@jyn514
Copy link
Member

jyn514 commented Mar 17, 2020

Also, I noticed that the libc link is broken (it goes to https://rust-lang.github.io/libc/#platform-specific-documentation which gives a 404). However I assume that libc wants to build for a large number of targets. If you want to build for more than 10 (our current default limit), you can open a new issue and I'll raise the limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants