Skip to content

Commit

Permalink
Make distinction between -l and --extern more clear
Browse files Browse the repository at this point in the history
Fixes #27686
  • Loading branch information
steveklabnik committed Aug 18, 2015
1 parent c6291e0 commit b2dc2ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions man/rustc.1
Expand Up @@ -41,7 +41,7 @@ look for anything here (the default)
.RE
.TP
\fB\-l\fR [\fIKIND\fR=]\fINAME\fR
Link the generated crate(s) to the specified native library \fINAME\fR.
Link the generated crate(s) to the specified library \fINAME\fR.
The optional \fIKIND\fR can be one of \fIstatic\fR, \fIdylib\fR, or
\fIframework\fR.
If omitted, \fIdylib\fR is assumed.
Expand Down Expand Up @@ -113,7 +113,8 @@ Print version info and exit.
Use verbose output.
.TP
\fB\-\-extern\fR \fINAME\fR=\fIPATH\fR
Specify where an external rust library is located.
Specify where an external rust library is located. These should match
\fIextern\fR declarations in the crate's source code.
.TP
\fB\-\-sysroot\fR \fIPATH\fR
Override the system root.
Expand Down

0 comments on commit b2dc2ef

Please sign in to comment.