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::*;
1414use std:: io:: BufReader ;
1515use std:: path:: { Path , PathBuf } ;
1616
17- use common:: { self , Config , Mode } ;
17+ use common:: { self , CompareMode , Config , Mode } ;
1818use util;
1919
2020use extract_gdb_version;
@@ -608,7 +608,12 @@ impl Config {
608608 common:: DebugInfoLldb => name == "lldb" ,
609609 common:: Pretty => name == "pretty" ,
610610 _ => 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+ }
612617 } else {
613618 false
614619 }
You can’t perform that action at this time.
0 commit comments