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,24 +88,16 @@ 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)
90
- .TP
91
- \fB \- W \fR <foo>
92
- enable warning <foo>
93
- .TP
94
- \fB \- W \fR no\- <foo>
95
- disable warning <foo>
96
- .TP
97
- \fB \- W \fR err\- <foo>
98
- enable warning <foo> as an error
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)
99
95
.TP
100
- \fB \- W \fR help
101
- Print available warnings and default settings
96
+ \fB \- W help \fR
97
+ Print 'lint' options and default settings
102
98
.TP
103
- \fB \- Z \fR help
104
- list internal options for debugging rustc
99
+ \fB \- Z help \fR
100
+ Print internal options for debugging rustc
105
101
.TP
106
102
\fB \- v \fR \fB \-\- version \fR
107
103
Print version info and exit
@@ -117,11 +113,12 @@ To build either with a crate (.rc) file:
117
113
$ rustc hello.rc
118
114
119
115
.SH "BUGS"
120
- See <\fB https://github.com/mozilla/rust/issues \fR > for a list of known bugs .
116
+ See <\fB https://github.com/mozilla/rust/issues \fR > for issues .
121
117
122
118
.SH "AUTHOR"
123
119
See \fB AUTHORS.txt \fR in the rust source distribution. Graydon Hoare
124
120
<
\fI [email protected] \fR > is the project leader.
125
121
126
122
.SH "COPYRIGHT"
127
- See \fB LICENSE.txt \fR in the rust source distribution.
123
+ This work is licensed under MIT-like terms. See \fB LICENSE.txt \fR
124
+ in the rust source distribution.
0 commit comments