steveklabnik/rustdoc

Flag: library path

Aberta

#133 aberto em 10 de ago. de 2017

 (2 comentários) (0 reação) (0 responsável) (22 forks)github user discovery
E-Mediumbackendhelp wantedquestion

Métricas do repositório

Stars
 (104 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

This issue is part of https://github.com/steveklabnik/rustdoc/issues/125

-L/--library-path:

Using this flag looks like this:

$ rustdoc src/lib.rs -L target/debug/deps
$ rustdoc src/lib.rs --library-path target/debug/deps

If your crate has dependencies, rustdoc needs to know where to find them. Passing --library-path gives rustdoc a list of places to look for these dependencies.

This flag takes any number of directories as its argument, and will use all of them when searching.


Should we keep this flag or not?

Guia do colaborador