File tree 2 files changed +4
-2
lines changed
src/tools/compiletest/src
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ impl fmt::Display for Debugger {
169
169
}
170
170
171
171
/// Configuration for compiletest
172
- #[ derive( Clone ) ]
172
+ #[ derive( Debug , Clone ) ]
173
173
pub struct Config {
174
174
/// `true` to to overwrite stderr/stdout files instead of complaining about changes in output.
175
175
pub bless : bool ,
Original file line number Diff line number Diff line change @@ -1877,7 +1877,8 @@ impl<'test> TestCx<'test> {
1877
1877
emit_metadata : EmitMetadata ,
1878
1878
allow_unused : AllowUnused ,
1879
1879
) -> Command {
1880
- let is_rustdoc = self . is_rustdoc ( ) ;
1880
+ let is_aux = input_file. components ( ) . map ( |c| c. as_os_str ( ) ) . any ( |c| c == "auxiliary" ) ;
1881
+ let is_rustdoc = self . is_rustdoc ( ) && !is_aux;
1881
1882
let mut rustc = if !is_rustdoc {
1882
1883
Command :: new ( & self . config . rustc_path )
1883
1884
} else {
@@ -3502,6 +3503,7 @@ impl ProcRes {
3502
3503
}
3503
3504
}
3504
3505
3506
+ #[ derive( Debug ) ]
3505
3507
enum TargetLocation {
3506
3508
ThisFile ( PathBuf ) ,
3507
3509
ThisDirectory ( PathBuf ) ,
You can’t perform that action at this time.
0 commit comments