steveklabnik/rustdoc

Flag: extern

開放

#135 建立於 2017年8月10日

 (3 則留言) (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

--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?

貢獻者指南