about summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-16 21:56:22 -0700
committerbors <bors@rust-lang.org>2014-04-16 21:56:22 -0700
commit787f4151e3ac32ffe455c2d3fd991def36be9758 (patch)
treea24df1dbc294c32e5baec561075f3514aace80b5 /man
parent1dec47711dc145fdfd675497fb6adb8ff80354ad (diff)
parent111178d028f7bfdd74854da8b03b2b427563c24f (diff)
downloadrust-787f4151e3ac32ffe455c2d3fd991def36be9758.tar.gz
rust-787f4151e3ac32ffe455c2d3fd991def36be9758.zip
auto merge of #13550 : brson/rust/man, r=alexcrichton
--no-analysis, --dep-info, -C relocation-model, remove --gen-crate-map
Diffstat (limited to 'man')
-rw-r--r--man/rustc.123
1 files changed, 17 insertions, 6 deletions
diff --git a/man/rustc.1 b/man/rustc.1
index 41ca56f2aba..a1cfafcb4b3 100644
--- a/man/rustc.1
+++ b/man/rustc.1
@@ -1,6 +1,6 @@
 .TH RUSTC "1" "March 2014" "rustc 0.11-pre" "User Commands"
 .SH NAME
-rustc \- rust compiler
+rustc \- The Rust compiler
 .SH SYNOPSIS
 .B rustc
 [\fIOPTIONS\fR] \fIINPUT\fR
@@ -33,9 +33,17 @@ List the symbols defined by a library crate
 \fB\-\-no\-trans\fR
 Run all passes except translation; no output
 .TP
-\fB\-g\fR, \fB\-\-debuginfo\fR
+\fB\-\-no\-analysis\fR
+Parse and expand the source, but run no analysis and produce no output
+.TP
+\fB\-g\fR
 Emit DWARF debug information into object files generated.
 .TP
+\fB\-\-debuginfo\fR LEVEL
+Emit DWARF debug info to the objects created: 0 = no debug info, 1 =
+line-tables only (for stacktraces and breakpoints), 2 = full debug
+info with variable and type information (same as -g).
+.TP
 \fB\-O\fR
 Equivalent to \fI\-\-opt\-level=2\fR
 .TP
@@ -58,6 +66,10 @@ Pretty-print the input instead of compiling; valid types are: normal
 expanded, with type annotations), or identified (fully parenthesized,
 AST nodes and blocks with IDs)
 .TP
+\fB\-\-dep-info\fR [FILENAME]
+Output dependency info to <filename> after compiling, in o format suitable
+for use by Makefiles.
+.TP
 \fB\-\-sysroot\fR PATH
 Override the system root
 .TP
@@ -151,15 +163,14 @@ level.
 Generates software floating point library calls instead of hardware
 instructions.
 .TP
-\fBgen-crate-map\fR
-Forces generate of a toplevel crate map. May be required for logging to work
-when rust is embedded into another application.
-.TP
 \fBprefer-dynamic\fR
 Prefers dynamic linking to static linking.
 .TP
 \fBno-integrated-as\fR
 Force usage of an external assembler rather than LLVM's integrated one.
+.TP
+\fBrelocation-model\fR=[pic,static,dynamic-no-pic]
+The relocation model to use. (default: pic)
 
 .SH "EXAMPLES"
 To build an executable from a source file with a main function: