File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,28 @@ full debug info with variable and type information.
242
242
\fB opt \- level \fR =\fI VAL \fR
243
243
Optimize with possible levels 0\[en ] 3
244
244
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
+ \fB RUST_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
+ \fB RUST_TEST_NOCAPTURE \fR
257
+ A synonym for the --nocapture flag.
258
+
259
+ .TP
260
+ \fB RUST_MIN_STACK \fR
261
+ Sets the minimum stack size for new threads.
262
+
263
+ .TP
264
+ \fB RUST_BACKTRACE \fR
265
+ If set, produces a backtrace in the output of a program which panics.
266
+
245
267
.SH "EXAMPLES"
246
268
To build an executable from a source file with a main function:
247
269
$ rustc \- o hello hello.rs
You can’t perform that action at this time.
0 commit comments