Skip to content

Commit 6283119

Browse files
committed
---
yaml --- r: 150875 b: refs/heads/try2 c: ff0b0d5 h: refs/heads/master i: 150873: 30a36e2 150871: 32fdaa5 v: v3
1 parent b84dffc commit 6283119

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1420
-666
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 2286b0cb21ced93a49c4bd025033a17d6b359a87
8+
refs/heads/try2: ff0b0d5ceeb94fad1d043a5bd2eb631f1f47caff
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/man/rustc.1

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.TH RUSTC "1" "March 2014" "rustc 0.11-pre" "User Commands"
22
.SH NAME
3-
rustc \- rust compiler
3+
rustc \- The Rust compiler
44
.SH SYNOPSIS
55
.B rustc
66
[\fIOPTIONS\fR] \fIINPUT\fR
@@ -27,15 +27,20 @@ Display this message
2727
\fB\-L\fR PATH
2828
Add a directory to the library search path
2929
.TP
30-
\fB\-\-ls\fR
31-
List the symbols defined by a library crate
32-
.TP
3330
\fB\-\-no\-trans\fR
3431
Run all passes except translation; no output
3532
.TP
36-
\fB\-g\fR, \fB\-\-debuginfo\fR
33+
\fB\-\-no\-analysis\fR
34+
Parse and expand the source, but run no analysis and produce no output
35+
.TP
36+
\fB\-g\fR
3737
Emit DWARF debug information into object files generated.
3838
.TP
39+
\fB\-\-debuginfo\fR LEVEL
40+
Emit DWARF debug info to the objects created: 0 = no debug info, 1 =
41+
line-tables only (for stacktraces and breakpoints), 2 = full debug
42+
info with variable and type information (same as -g).
43+
.TP
3944
\fB\-O\fR
4045
Equivalent to \fI\-\-opt\-level=2\fR
4146
.TP
@@ -58,6 +63,10 @@ Pretty-print the input instead of compiling; valid types are: normal
5863
expanded, with type annotations), or identified (fully parenthesized,
5964
AST nodes and blocks with IDs)
6065
.TP
66+
\fB\-\-dep-info\fR [FILENAME]
67+
Output dependency info to <filename> after compiling, in o format suitable
68+
for use by Makefiles.
69+
.TP
6170
\fB\-\-sysroot\fR PATH
6271
Override the system root
6372
.TP
@@ -151,15 +160,14 @@ level.
151160
Generates software floating point library calls instead of hardware
152161
instructions.
153162
.TP
154-
\fBgen-crate-map\fR
155-
Forces generate of a toplevel crate map. May be required for logging to work
156-
when rust is embedded into another application.
157-
.TP
158163
\fBprefer-dynamic\fR
159164
Prefers dynamic linking to static linking.
160165
.TP
161166
\fBno-integrated-as\fR
162167
Force usage of an external assembler rather than LLVM's integrated one.
168+
.TP
169+
\fBrelocation-model\fR=[pic,static,dynamic-no-pic]
170+
The relocation model to use. (default: pic)
163171

164172
.SH "EXAMPLES"
165173
To build an executable from a source file with a main function:

0 commit comments

Comments
 (0)