@@ -155,8 +155,7 @@ impl Command {
155155 | Command :: Test { .. }
156156 | Command :: Run { .. }
157157 | Command :: Fmt { .. }
158- | Command :: Clippy { .. }
159- | Command :: Cargo { .. } => Self :: auto_actions ( ) ?,
158+ | Command :: Clippy { .. } => Self :: auto_actions ( ) ?,
160159 | Command :: Toolchain { .. }
161160 | Command :: Bench { .. }
162161 | Command :: RustcPull { .. }
@@ -172,7 +171,6 @@ impl Command {
172171 Self :: run ( dep, verbose, many_seeds, target, edition, flags) ,
173172 Command :: Fmt { flags } => Self :: fmt ( flags) ,
174173 Command :: Clippy { flags } => Self :: clippy ( flags) ,
175- Command :: Cargo { flags } => Self :: cargo ( flags) ,
176174 Command :: Bench { target, benches } => Self :: bench ( target, benches) ,
177175 Command :: Toolchain { flags } => Self :: toolchain ( flags) ,
178176 Command :: RustcPull { commit } => Self :: rustc_pull ( commit. clone ( ) ) ,
@@ -451,15 +449,6 @@ impl Command {
451449 Ok ( ( ) )
452450 }
453451
454- fn cargo ( flags : Vec < String > ) -> Result < ( ) > {
455- let e = MiriEnv :: new ( ) ?;
456- let toolchain = & e. toolchain ;
457- // We carefully kept the working dir intact, so this will run cargo *on the workspace in the
458- // current working dir*, not on the main Miri workspace. That is exactly what RA needs.
459- cmd ! ( e. sh, "cargo +{toolchain} {flags...}" ) . run ( ) ?;
460- Ok ( ( ) )
461- }
462-
463452 fn test ( bless : bool , mut flags : Vec < String > , target : Option < String > ) -> Result < ( ) > {
464453 let mut e = MiriEnv :: new ( ) ?;
465454
0 commit comments