Skip to content

Commit ae4f8fb

Browse files
committed
rustc man page and usage text update.
* Mark --static as experimental; * Remove --stats, as the option isn't implemented. * Bold and surround by pointy brackets (<>) all the URLs of rustc man page, for consistency.
1 parent f885205 commit ae4f8fb

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

man/rustc.1

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ Write intermediate files (.bc, .opt.bc, .o)
7575
in addition to normal output
7676
.TP
7777
\fB\-\-static\fR
78-
Use or produce static libraries or binaries
79-
.TP
80-
\fB\-\-stats\fR
81-
Print compilation statistics
78+
Use or produce static libraries or binaries (experimental)
8279
.TP
8380
\fB\-\-sysroot\fR <path>
8481
Override the system root
@@ -87,10 +84,9 @@ Override the system root
8784
Build a test harness
8885
.TP
8986
\fB\-\-target\fR <triple>
90-
Target cpu\-manufacturer\-kernel[\-os] to compile for
91-
(default: host triple)
92-
(see http://sources.redhat.com/autobook/autobook/
93-
autobook_17.html for detail)
87+
Target cpu\-manufacturer\-kernel[\-os] to compile for (default: host triple)
88+
(see <\fBhttp://sources.redhat.com/autobook/autobook/autobook_17.html\fR> for
89+
detail)
9490
.TP
9591
\fB\-W\fR <foo>
9692
enable warning <foo>
@@ -121,7 +117,7 @@ To build either with a crate (.rc) file:
121117
$ rustc hello.rc
122118

123119
.SH "BUGS"
124-
See \fBhttps://github.com/mozilla/rust/issues\fR for a list of known bugs.
120+
See <\fBhttps://github.com/mozilla/rust/issues\fR> for a list of known bugs.
125121

126122
.SH "AUTHOR"
127123
See \fBAUTHORS.txt\fR in the rust source distribution. Graydon Hoare

src/rustc/driver/rustc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Options:
6161
--save-temps Write intermediate files (.bc, .opt.bc, .o)
6262
in addition to normal output
6363
--static Use or produce static libraries or binaries
64-
--stats Print compilation statistics
64+
(experimental)
6565
--sysroot <path> Override the system root
6666
--test Build a test harness
6767
--target <triple> Target cpu-manufacturer-kernel[-os] to compile for

0 commit comments

Comments
 (0)