Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Flag: target #142

Open
steveklabnik opened this issue Aug 10, 2017 · 3 comments
Open

Flag: target #142

steveklabnik opened this issue Aug 10, 2017 · 3 comments

Comments

@steveklabnik
Copy link
Owner

This issue is part of #125

--target:

Using this flag looks like this:

$ rustdoc src/lib.rs --target x86_64-pc-windows-gnu

Similar to the --target flag for rustc, this generates documentation
for a target triple that's different than your host triple.

All of the usual caveats of cross-compiling code apply.


Should we keep this flag or not?

@steveklabnik
Copy link
Owner Author

This seems reasonably important, though I'd like to get target-agnostic docs supported in a better way, so I'm not totally sure.

@mgattozzi
Copy link
Contributor

Maybe do like docs.rs has and allow you to switch between the different types of docs from a drop down menu in the generated code?

@steveklabnik
Copy link
Owner Author

Possibly; this deserves its own quest issue. Feel free to open one, and if you don't, I will by Monday.

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

No branches or pull requests

2 participants