File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 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.
242242\fB opt \- level \fR \fI VAL \fR 
243243Optimize 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+ \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+ 
245267.SH  "EXAMPLES" 
246268To build an executable from a source file with a main function:
247269    $ rustc \- o hello hello.rs
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments