File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -270,24 +270,6 @@ pub fn is_valid_test_suite_arg<'a, P: AsRef<Path>>(
270270 }
271271}
272272
273- // FIXME: get rid of this function
274- pub fn check_run ( cmd : & mut BootstrapCommand , print_cmd_on_fail : bool ) -> bool {
275- let status = match cmd. as_command_mut ( ) . status ( ) {
276- Ok ( status) => status,
277- Err ( e) => {
278- println ! ( "failed to execute command: {cmd:?}\n ERROR: {e}" ) ;
279- return false ;
280- }
281- } ;
282- if !status. success ( ) && print_cmd_on_fail {
283- println ! (
284- "\n \n command did not execute successfully: {cmd:?}\n \
285- expected success, got: {status}\n \n "
286- ) ;
287- }
288- status. success ( )
289- }
290-
291273pub fn make ( host : & str ) -> PathBuf {
292274 if host. contains ( "dragonfly" )
293275 || host. contains ( "freebsd" )
You can’t perform that action at this time.
0 commit comments