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;
99
1010use crate :: core:: config:: BUILDER_CONFIG_FILENAME ;
1111use 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} ;
1414use crate :: { Config , t} ;
1515
1616static SHOULD_FIX_BINS_AND_DYLIBS : OnceLock < bool > = OnceLock :: new ( ) ;
@@ -65,17 +65,6 @@ impl Config {
6565 tmp
6666 }
6767
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-
7968 /// Whether or not `fix_bin_or_dylib` needs to be run; can only be true
8069 /// on NixOS
8170 fn should_fix_bins_and_dylibs ( & self ) -> bool {
You can’t perform that action at this time.
0 commit comments