@@ -168,8 +168,7 @@ impl Command {
168168 | Command :: Test { .. }
169169 | Command :: Run { .. }
170170 | Command :: Fmt { .. }
171- | Command :: Clippy { .. }
172- | Command :: Cargo { .. } => Self :: auto_actions ( ) ?,
171+ | Command :: Clippy { .. } => Self :: auto_actions ( ) ?,
173172 | Command :: Toolchain { .. }
174173 | Command :: Bench { .. }
175174 | Command :: RustcPull { .. }
@@ -185,7 +184,6 @@ impl Command {
185184 Self :: run ( dep, verbose, many_seeds, target, edition, flags) ,
186185 Command :: Fmt { flags } => Self :: fmt ( flags) ,
187186 Command :: Clippy { flags } => Self :: clippy ( flags) ,
188- Command :: Cargo { flags } => Self :: cargo ( flags) ,
189187 Command :: Bench { target, benches } => Self :: bench ( target, benches) ,
190188 Command :: Toolchain { flags } => Self :: toolchain ( flags) ,
191189 Command :: RustcPull { commit } => Self :: rustc_pull ( commit. clone ( ) ) ,
@@ -464,15 +462,6 @@ impl Command {
464462 Ok ( ( ) )
465463 }
466464
467- fn cargo ( flags : Vec < String > ) -> Result < ( ) > {
468- let e = MiriEnv :: new ( ) ?;
469- let toolchain = & e. toolchain ;
470- // We carefully kept the working dir intact, so this will run cargo *on the workspace in the
471- // current working dir*, not on the main Miri workspace. That is exactly what RA needs.
472- cmd ! ( e. sh, "cargo +{toolchain} {flags...}" ) . run ( ) ?;
473- Ok ( ( ) )
474- }
475-
476465 fn test ( bless : bool , mut flags : Vec < String > , target : Option < String > ) -> Result < ( ) > {
477466 let mut e = MiriEnv :: new ( ) ?;
478467
0 commit comments