steveklabnik/rustdoc

Flag: target

Aperta

#142 aperta il 10 ago 2017

 (3 commenti) (0 reazioni) (0 assegnatari) (22 fork)github user discovery
E-Mediumbackendhelp wantedquestion

Metriche repository

Star
 (104 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

This issue is part of https://github.com/steveklabnik/rustdoc/issues/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?

Guida contributor