File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ fn main() -> Result<()> {
32
32
. envs
33
33
. push ( ( "BLESS" . into ( ) , ( !args. check ) . then ( || String :: new ( ) . into ( ) ) ) ) ;
34
34
35
+ config
36
+ . program
37
+ . envs
38
+ . push ( ( "RUST_BACKTRACE" . into ( ) , Some ( "0" . into ( ) ) ) ) ;
39
+
35
40
config. stdout_filter ( "in ([0-9]m )?[0-9\\ .]+s" , "" ) ;
36
41
config. stdout_filter ( r#""--out-dir"(,)? "[^"]+""# , r#""--out-dir"$1 "$$TMP"# ) ;
37
42
config. filter ( "\\ .exe" , b"" ) ;
Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ error: internal compiler error: no errors reported for args
373
373
374
374
thread 'rustc' panicked at compiler/rustc_errors/src/lib.rs:
375
375
aborting due to `-Z treat-err-as-bug=1`
376
- stack backtrace:
376
+ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
377
377
378
378
error: the compiler unexpectedly panicked. this is a bug.
379
379
You can’t perform that action at this time.
0 commit comments