Skip to content

Commit 0317085

Browse files
committed
Update man page for default library naming
1 parent bab2b37 commit 0317085

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

man/rustc.1

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ Display help.
2020
Display version information.
2121
.TP
2222
\fB-o\fR \fIfilename\fR:
23-
Write output to \fIfilename\fR. The default output
24-
filename for \fBfoo.rs\fR is otherwise \fBfoo\fR (when compiling a binary),
25-
\fBfoo\fR (when compiling a library), \fBfoo.o\fR (when using \fB-c\fR),
26-
\fBfoo.s\fR (when using \fB-S\fR) or \fBfoo.bc\fR (when using
27-
\fB--emit-llvm\fR).
23+
Write output to \fIfilename\fR. The default
24+
output filename for \fBfoo.rs\fR is otherwise \fBfoo\fR plus any
25+
platform-specific extension (when compiling a binary), a
26+
platform-specific name, e.g. \fBlibfoo.so\fR (when compiling a
27+
library), \fBfoo.o\fR (when using \fB-c\fR), \fBfoo.s\fR (when using
28+
\fB-S\fR) or \fBfoo.bc\fR (when using \fB--emit-llvm\fR), and
2829
.TP
2930
\fB--lib\fR:
3031
Compile and link a library crate into a shared object.

0 commit comments

Comments
 (0)