@@ -153,8 +153,7 @@ impl Command {
153153 | Command :: Test { .. }
154154 | Command :: Run { .. }
155155 | Command :: Fmt { .. }
156- | Command :: Clippy { .. }
157- | Command :: Cargo { .. } => Self :: auto_actions ( ) ?,
156+ | Command :: Clippy { .. } => Self :: auto_actions ( ) ?,
158157 | Command :: Toolchain { .. }
159158 | Command :: Bench { .. }
160159 | Command :: RustcPull { .. }
@@ -170,7 +169,6 @@ impl Command {
170169 Self :: run ( dep, verbose, many_seeds, target, edition, flags) ,
171170 Command :: Fmt { flags } => Self :: fmt ( flags) ,
172171 Command :: Clippy { flags } => Self :: clippy ( flags) ,
173- Command :: Cargo { flags } => Self :: cargo ( flags) ,
174172 Command :: Bench { target, benches } => Self :: bench ( target, benches) ,
175173 Command :: Toolchain { flags } => Self :: toolchain ( flags) ,
176174 Command :: RustcPull { commit } => Self :: rustc_pull ( commit. clone ( ) ) ,
@@ -449,15 +447,6 @@ impl Command {
449447 Ok ( ( ) )
450448 }
451449
452- fn cargo ( flags : Vec < String > ) -> Result < ( ) > {
453- let e = MiriEnv :: new ( ) ?;
454- let toolchain = & e. toolchain ;
455- // We carefully kept the working dir intact, so this will run cargo *on the workspace in the
456- // current working dir*, not on the main Miri workspace. That is exactly what RA needs.
457- cmd ! ( e. sh, "cargo +{toolchain} {flags...}" ) . run ( ) ?;
458- Ok ( ( ) )
459- }
460-
461450 fn test ( bless : bool , mut flags : Vec < String > , target : Option < String > ) -> Result < ( ) > {
462451 let mut e = MiriEnv :: new ( ) ?;
463452
0 commit comments