File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ use xz2::bufread::XzDecoder;
9
9
10
10
use crate :: core:: config:: BUILDER_CONFIG_FILENAME ;
11
11
use crate :: utils:: build_stamp:: BuildStamp ;
12
- use crate :: utils:: exec:: { BootstrapCommand , command} ;
13
- use crate :: utils:: helpers:: { check_run , exe, hex_encode, move_file} ;
12
+ use crate :: utils:: exec:: command;
13
+ use crate :: utils:: helpers:: { exe, hex_encode, move_file} ;
14
14
use crate :: { Config , t} ;
15
15
16
16
static SHOULD_FIX_BINS_AND_DYLIBS : OnceLock < bool > = OnceLock :: new ( ) ;
@@ -65,17 +65,6 @@ impl Config {
65
65
tmp
66
66
}
67
67
68
- /// Runs a command, printing out nice contextual information if it fails.
69
- /// Returns false if do not execute at all, otherwise returns its
70
- /// `status.success()`.
71
- pub ( crate ) fn check_run ( & self , cmd : & mut BootstrapCommand ) -> bool {
72
- if self . dry_run ( ) && !cmd. run_always {
73
- return true ;
74
- }
75
- self . verbose ( || println ! ( "running: {cmd:?}" ) ) ;
76
- check_run ( cmd, self . is_verbose ( ) )
77
- }
78
-
79
68
/// Whether or not `fix_bin_or_dylib` needs to be run; can only be true
80
69
/// on NixOS
81
70
fn should_fix_bins_and_dylibs ( & self ) -> bool {
You can’t perform that action at this time.
0 commit comments