diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-20 05:31:30 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-20 12:43:14 +0530 |
| commit | 83a95b0de97f1e4d77e5e0060095f4a36ba7a7df (patch) | |
| tree | e3857073e1a0b6056b4fb11bedec745d0b549f73 | |
| parent | 17f3f3e3e6734690db06a73c76edb923593dec85 (diff) | |
| parent | b4a72a403a9dfcb3ba906606b3ea0b8363884cdf (diff) | |
| download | rust-83a95b0de97f1e4d77e5e0060095f4a36ba7a7df.tar.gz rust-83a95b0de97f1e4d77e5e0060095f4a36ba7a7df.zip | |
Rollup merge of #23527 - steveklabnik:gh16330, r=alexcrichton
Fixes #16330 My troff is probably poor, so make sure that all looks okay.
| -rw-r--r-- | man/rustc.1 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/man/rustc.1 b/man/rustc.1 index f37e6600190..33ef3f9ee4a 100644 --- a/man/rustc.1 +++ b/man/rustc.1 @@ -242,6 +242,28 @@ full debug info with variable and type information. \fBopt\-level\fR=\fIVAL\fR Optimize with possible levels 0\[en]3 +.SH ENVIRONMENT VARIABLES + +Some of these affect the output of the compiler, while others affect programs +which link to the standard library. + +.TP +\fBRUST_TEST_THREADS\fR +The test framework Rust provides executes tests in parallel. This variable sets +the maximum number of threads used for this purpose. + +.TP +\fBRUST_TEST_NOCAPTURE\fR +A synonym for the --nocapture flag. + +.TP +\fBRUST_MIN_STACK\fR +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. + .SH "EXAMPLES" To build an executable from a source file with a main function: $ rustc \-o hello hello.rs |
