File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use std::io::prelude::*;
14
14
use std:: io:: BufReader ;
15
15
use std:: path:: { Path , PathBuf } ;
16
16
17
- use common:: { self , Config , Mode } ;
17
+ use common:: { self , CompareMode , Config , Mode } ;
18
18
use util;
19
19
20
20
use extract_gdb_version;
@@ -608,7 +608,12 @@ impl Config {
608
608
common:: DebugInfoLldb => name == "lldb" ,
609
609
common:: Pretty => name == "pretty" ,
610
610
_ => false ,
611
- } || ( self . target != self . host && name == "cross-compile" )
611
+ } || ( self . target != self . host && name == "cross-compile" ) ||
612
+ match self . compare_mode {
613
+ Some ( CompareMode :: Nll ) => name == "compare-mode-nll" ,
614
+ Some ( CompareMode :: Polonius ) => name == "compare-mode-polonius" ,
615
+ None => false ,
616
+ }
612
617
} else {
613
618
false
614
619
}
You can’t perform that action at this time.
0 commit comments