File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -868,6 +868,7 @@ impl Config {
868868
869869 // Set flags.
870870 config. paths = std:: mem:: take ( & mut flags. paths ) ;
871+ config. free_args = std:: mem:: take ( & mut flags. free_args ) ;
871872 config. exclude = flags. exclude . into_iter ( ) . map ( |path| TaskPath :: parse ( path) ) . collect ( ) ;
872873 config. include_default_paths = flags. include_default_paths ;
873874 config. rustc_error_format = flags. error_format ;
Original file line number Diff line number Diff line change @@ -459,8 +459,7 @@ impl Subcommand {
459459 }
460460 }
461461
462- pub fn only_modified (
463- & self ) -> bool {
462+ pub fn only_modified ( & self ) -> bool {
464463 match * self {
465464 Subcommand :: Test { only_modified, .. } => only_modified,
466465 _ => false ,
Original file line number Diff line number Diff line change @@ -184,7 +184,6 @@ impl Step for Miri {
184184 miri. arg ( "--" ) . arg ( "--target" ) . arg ( target. rustc_target_arg ( ) ) ;
185185 miri. args ( builder. config . cmd . args ( ) ) ;
186186 miri. args ( & builder. config . free_args ) ;
187-
188187 // miri tests need to know about the stage sysroot
189188 miri. env ( "MIRI_SYSROOT" , & miri_sysroot) ;
190189
You can’t perform that action at this time.
0 commit comments