steveklabnik/rustdoc

Flag: extern

Aperta

#135 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

--extern: specify a dependency's location

Using this flag looks like this:

$ rustdoc src/lib.rs --extern lazy-static=/path/to/lazy-static

Similar to --library-path, --extern is about specifying the location of a dependency. --library-path provides directories to search in, --extern instead lets you specify exactly which dependency is located where.


Should we keep this flag or not?

Guida contributor