File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -211,17 +211,6 @@ impl<'a> BootstrapCommand {
211211 exec_ctx. as_ref ( ) . start ( self , OutputMode :: Capture , OutputMode :: Print )
212212 }
213213
214- /// Provides access to the stdlib Command inside.
215- /// FIXME: This function should be eventually removed from bootstrap.
216- pub fn as_command_mut ( & mut self ) -> & mut Command {
217- // We proactively mark this command as executed since we can't be certain how the returned
218- // command will be handled. Caching must also be avoided here, as the inner command could be
219- // modified externally without us being aware.
220- self . mark_as_executed ( ) ;
221- self . do_not_cache ( ) ;
222- & mut self . command
223- }
224-
225214 /// Mark the command as being executed, disarming the drop bomb.
226215 /// If this method is not called before the command is dropped, its drop will panic.
227216 pub fn mark_as_executed ( & mut self ) {
You can’t perform that action at this time.
0 commit comments