steveklabnik/rustdoc

Flag: library path

开放

#133 创建于 2017年8月10日

 (2 条评论) (0 个反应) (0 位负责人) (22 个派生)github user discovery
E-Mediumbackendhelp wantedquestion

仓库指标

星标
 (104 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南