Skip to content

Commit f207ddb

Browse files
committed
Auto merge of #33012 - pravic:describe-L-rustc-option, r=alexcrichton
List possible keys of the -L rustc option. Since `rustc --help -v` does not describe it, only *rustc.1* man page, but there is no man for Windows. r? @alexcrichton cc @steveklabnik
2 parents d8d7174 + 9da67da commit f207ddb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustc/session/config.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -888,8 +888,9 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
888888
vec![
889889
opt::flag_s("h", "help", "Display this message"),
890890
opt::multi_s("", "cfg", "Configure the compilation environment", "SPEC"),
891-
opt::multi_s("L", "", "Add a directory to the library search path",
892-
"[KIND=]PATH"),
891+
opt::multi_s("L", "", "Add a directory to the library search path. The
892+
optional KIND can be one of dependency, crate, native,
893+
framework or all (the default).", "[KIND=]PATH"),
893894
opt::multi_s("l", "", "Link the generated crate(s) to the specified native
894895
library NAME. The optional KIND can be one of
895896
static, dylib, or framework. If omitted, dylib is

0 commit comments

Comments
 (0)