]> git.lizzy.rs Git - rust.git/blobdiff - man/rustc.1
Auto merge of #34724 - mitchmindtree:mpsc_receiver_try_recv, r=alexcrichton
[rust.git] / man / rustc.1
index 3d7fc7f6bf46959ef38944fc9dbb125729e22aab..fa61afd3be582215f26ea7262452c8c177e56f5b 100644 (file)
@@ -6,9 +6,7 @@ rustc \- The Rust compiler
 [\fIOPTIONS\fR] \fIINPUT\fR
 
 .SH DESCRIPTION
-This program is a compiler for the Rust language, available at
-.UR https://www.rust\-lang.org
-.UE .
+This program is a compiler for the Rust language, available at https://www.rust\-lang.org.
 
 .SH OPTIONS
 
@@ -46,7 +44,7 @@ The optional \fIKIND\fR can be one of \fIstatic\fR, \fIdylib\fR, or
 \fIframework\fR.
 If omitted, \fIdylib\fR is assumed.
 .TP
-\fB\-\-crate\-type\fR [bin|lib|rlib|dylib|staticlib]
+\fB\-\-crate\-type\fR [bin|lib|rlib|dylib|cdylib|staticlib]
 Comma separated list of types of crates for the compiler to emit.
 .TP
 \fB\-\-crate\-name\fR \fINAME\fR
@@ -270,7 +268,7 @@ the maximum number of threads used for this purpose.
 
 .TP
 \fBRUST_TEST_NOCAPTURE\fR
-A synonym for the --nocapture flag.
+If set to a value other than "0", a synonym for the --nocapture flag.
 
 .TP
 \fBRUST_MIN_STACK\fR
@@ -278,7 +276,7 @@ Sets the minimum stack size for new threads.
 
 .TP
 \fBRUST_BACKTRACE\fR
-If set, produces a backtrace in the output of a program which panics.
+If set to a value different than "0", produces a backtrace in the output of a program which panics.
 
 .SH "EXAMPLES"
 To build an executable from a source file with a main function:
@@ -298,10 +296,7 @@ To build an executable with debug info:
 .BR rustdoc (1)
 
 .SH "BUGS"
-See
-.UR https://github.com/rust\-lang/rust/issues
-.UE
-for issues.
+See https://github.com/rust\-lang/rust/issues for issues.
 
 .SH "AUTHOR"
 See \fIAUTHORS.txt\fR in the Rust source distribution.