Skip to content

Commit 83a95b0

Browse files
committed
Rollup merge of rust-lang#23527 - steveklabnik:gh16330, r=alexcrichton
Fixes rust-lang#16330 My troff is probably poor, so make sure that all looks okay.
2 parents 17f3f3e + b4a72a4 commit 83a95b0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

man/rustc.1

+22
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,28 @@ full debug info with variable and type information.
242242
\fBopt\-level\fR=\fIVAL\fR
243243
Optimize with possible levels 0\[en]3
244244

245+
.SH ENVIRONMENT VARIABLES
246+
247+
Some of these affect the output of the compiler, while others affect programs
248+
which link to the standard library.
249+
250+
.TP
251+
\fBRUST_TEST_THREADS\fR
252+
The test framework Rust provides executes tests in parallel. This variable sets
253+
the maximum number of threads used for this purpose.
254+
255+
.TP
256+
\fBRUST_TEST_NOCAPTURE\fR
257+
A synonym for the --nocapture flag.
258+
259+
.TP
260+
\fBRUST_MIN_STACK\fR
261+
Sets the minimum stack size for new threads.
262+
263+
.TP
264+
\fBRUST_BACKTRACE\fR
265+
If set, produces a backtrace in the output of a program which panics.
266+
245267
.SH "EXAMPLES"
246268
To build an executable from a source file with a main function:
247269
$ rustc \-o hello hello.rs

0 commit comments

Comments
 (0)