1
- .TH RUSTC "1" "July 2012" "rustc 0.3 " "User Commands"
1
+ .TH RUSTC "1" "October 2012" "rustc 0.4 " "User Commands"
2
2
.SH NAME
3
3
rustc \- rust compiler
4
4
.SH SYNOPSIS
@@ -42,6 +42,9 @@ Compile a library crate
42
42
\fB \-\- ls \fR
43
43
List the symbols defined by a compiled library crate
44
44
.TP
45
+ \fB \-\- jit \fR
46
+ Execute using JIT (experimental)
47
+ .TP
45
48
\fB \-\- no \- trans \fR
46
49
Run all passes except translation; no output
47
50
.TP
@@ -62,9 +65,9 @@ Parse only; do not compile, assemble, or link
62
65
.TP
63
66
\fB \-\- pretty \fR [type]
64
67
Pretty\- print the input instead of compiling;
65
- valid types are: \fB normal \fR (un\- annotated source),
66
- \fB expanded \fR (crates expanded), \fB typed \fR (crates expanded,
67
- with type annotations), or \fB identified \fR (fully
68
+ valid types are: normal (un\- annotated source),
69
+ expanded (crates expanded), typed (crates expanded,
70
+ with type annotations), or identified (fully
68
71
parenthesized, AST nodes and blocks with IDs)
69
72
.TP
70
73
\fB \- S \fR
@@ -75,7 +78,8 @@ Write intermediate files (.bc, .opt.bc, .o)
75
78
in addition to normal output
76
79
.TP
77
80
\fB \-\- static \fR
78
- Use or produce static libraries or binaries (experimental)
81
+ Use or produce static libraries or binaries
82
+ (experimental)
79
83
.TP
80
84
\fB \-\- sysroot \fR <path>
81
85
Override the system root
@@ -84,21 +88,25 @@ Override the system root
84
88
Build a test harness
85
89
.TP
86
90
\fB \-\- target \fR <triple>
87
- Target cpu\- manufacturer\- kernel[\- os] to compile for (default: host triple)
88
- (see <\fB http://sources.redhat.com/autobook/autobook/autobook_17.html \fR > for
89
- detail)
91
+ Target cpu\- manufacturer\- kernel[\- os] to compile for
92
+ (default: host triple)
93
+ (see http://sources.redhat.com/autobook/autobook/
94
+ autobook_17.html for detail)
95
+ .TP
96
+ \- (W|A|D|F) help
97
+ Print available 'lint' checks and default settings
90
98
.TP
91
99
\fB \- W \fR <foo>
92
- enable warning <foo>
100
+ warn about <foo> by default
93
101
.TP
94
- \fB \- W \fR no \- <foo>
95
- disable warning <foo>
102
+ \fB \- A \fR <foo>
103
+ allow <foo> by default
96
104
.TP
97
- \fB \- W \fR err \- <foo>
98
- enable warning <foo> as an error
105
+ \fB \- D \fR <foo>
106
+ deny <foo> by default
99
107
.TP
100
- \fB \- W \fR help
101
- Print available warnings and default settings
108
+ \fB \- F \fR <foo>
109
+ forbid <foo> (deny, and deny all overrides)
102
110
.TP
103
111
\fB \- Z \fR help
104
112
list internal options for debugging rustc
@@ -117,11 +125,12 @@ To build either with a crate (.rc) file:
117
125
$ rustc hello.rc
118
126
119
127
.SH "BUGS"
120
- See <\fB https://github.com/mozilla/rust/issues \fR > for a list of known bugs .
128
+ See <\fB https://github.com/mozilla/rust/issues \fR > for issues .
121
129
122
130
.SH "AUTHOR"
123
131
See \fB AUTHORS.txt \fR in the rust source distribution. Graydon Hoare
124
132
<
\fI [email protected] \fR > is the project leader.
125
133
126
134
.SH "COPYRIGHT"
127
- See \fB LICENSE.txt \fR in the rust source distribution.
135
+ This work is licensed under MIT-like terms. See \fB LICENSE.txt \fR
136
+ in the rust source distribution.
0 commit comments