Skip to content

Commit 3fbea16

Browse files
brsonthestinger
authored andcommitted
Update man page
1 parent 659cd55 commit 3fbea16

File tree

1 file changed

+18
-51
lines changed

1 file changed

+18
-51
lines changed

man/rustc.1

Lines changed: 18 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH RUSTC "1" "February 2013" "rustc 0.6" "User Commands"
1+
.TH RUSTC "1" "July 2013" "rustc 0.7" "User Commands"
22
.SH NAME
33
rustc \- rust compiler
44
.SH SYNOPSIS
@@ -33,6 +33,12 @@ Add a directory to the library search path
3333
\fB\-\-lib\fR
3434
Compile a library crate
3535
.TP
36+
\fB\-\-linker\fR LINKER
37+
Program to use for linking instead of the default
38+
.TP
39+
\fB\-\-link-args\fR FLAGS
40+
A space-separated list of flags passed to the linker
41+
.TP
3642
\fB\-\-ls\fR
3743
List the symbols defined by a library crate
3844
.TP
@@ -48,6 +54,11 @@ Write output to <filename>
4854
\fB\-\-opt\-level\fR LEVEL
4955
Optimize with possible levels 0-3
5056
.TP
57+
\fB\-\-passes\fR NAMES
58+
Comma- or space-separated list of optimization passes. Overrides
59+
the default passes for the optimization level. A value of 'list'
60+
will list the available passes.
61+
.TP
5162
\fB\-\-out\-dir\fR DIR
5263
Write output to compiler-chosen filename in <dir>
5364
.TP
@@ -77,6 +88,12 @@ Target triple cpu-manufacturer-kernel[-os] to compile for (see
7788
http://sources.redhat.com/autobook/autobook/autobook_17.html
7889
for detail)
7990
.TP
91+
\fB\-\-target-feature\fR TRIPLE
92+
Target-specific attributes (see llc -mattr=help for detail)
93+
.TP
94+
\fB\-\-android-cross-path\fR PATH
95+
The path to the Android NDK
96+
.TP
8097
\fB\-W\fR help
8198
Print 'lint' options and default settings
8299
.TP
@@ -94,56 +111,6 @@ Set lint forbidden
94111
.TP
95112
\fB\-Z\fR FLAG
96113
Set internal debugging options. Use "-Z help" to print available options.
97-
98-
Available debug flags are:
99-
.RS
100-
.IP \[bu]
101-
\fBverbose\fR - in general, enable more debug printouts
102-
.IP \[bu]
103-
\fBtime\-passes\fR - measure time of each rustc pass
104-
.IP \[bu]
105-
\fBcount\-llvm\-insns\fR - count where LLVM instrs originate
106-
.IP \[bu]
107-
\fBtime\-llvm\-passes\fR - measure time of each LLVM pass
108-
.IP \[bu]
109-
\fBtrans\-stats\fR - gather trans statistics
110-
.IP \[bu]
111-
\fBno\-asm\-comments\fR - omit comments when using \fI\-S\fR
112-
.IP \[bu]
113-
\fBno\-verify\fR - skip LLVM verification
114-
.IP \[bu]
115-
\fBtrace\fR - emit trace logs
116-
.IP \[bu]
117-
\fBcoherence\fR - perform coherence checking
118-
.IP \[bu]
119-
\fBborrowck\-stats\fR - gather borrowck statistics
120-
.IP \[bu]
121-
\fBborrowck\-note\-pure\fR - note where purity is req'd
122-
.IP \[bu]
123-
\fBborrowck\-note\-loan\fR - note where loans are req'd
124-
.IP \[bu]
125-
\fBno\-landing\-pads\fR - omit landing pads for unwinding
126-
.IP \[bu]
127-
\fBdebug\-llvm\fR - enable debug output from LLVM
128-
.IP \[bu]
129-
\fBcount\-type\-sizes\fR - count the sizes of aggregate types
130-
.IP \[bu]
131-
\fBmeta\-stats\fR - gather metadata statistics
132-
.IP \[bu]
133-
\fBno\-opt\fR - do not optimize, even if \fI\-O\fR is passed
134-
.IP \[bu]
135-
\fBno\-monomorphic\-collapse\fR - do not collapse template instantiations
136-
.IP \[bu]
137-
\fBgc\fR - Garbage collect shared data (experimental)
138-
.IP \[bu]
139-
\fBjit\fR - Execute using JIT (experimental)
140-
.IP \[bu]
141-
\fBextra\-debug\-info\fR - Extra debugging info (experimental)
142-
.IP \[bu]
143-
\fBdebug\-info\fR - Produce debug info (experimental)
144-
.IP \[bu]
145-
\fBstatic\fR - Use or produce static libraries or binaries (experimental)
146-
.RE
147114
.TP
148115
\fB\-v\fR, \fB\-\-version\fR
149116
Print version info and exit

0 commit comments

Comments
 (0)