File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,8 @@ fn setup(ask_user: bool) {
128128 {
129129 if ask_user {
130130 ask ( "It seems you do not have xargo installed. I will run `cargo install xargo`. Proceed?" ) ;
131+ } else {
132+ println ! ( "Installing xargo: `cargo install xargo`" ) ;
131133 }
132134 if !Command :: new ( "cargo" ) . args ( & [ "install" , "xargo" ] ) . status ( ) . unwrap ( ) . success ( ) {
133135 show_error ( format ! ( "Failed to install xargo" ) ) ;
@@ -141,6 +143,8 @@ fn setup(ask_user: bool) {
141143 if !src. exists ( ) {
142144 if ask_user {
143145 ask ( "It seems you do not have the rust-src component installed. I will run `rustup component add rust-src`. Proceed?" ) ;
146+ } else {
147+ println ! ( "Installing rust-src component: `rustup component add rust-src`" ) ;
144148 }
145149 if !Command :: new ( "rustup" ) . args ( & [ "component" , "add" , "rust-src" ] ) . status ( ) . unwrap ( ) . success ( ) {
146150 show_error ( format ! ( "Failed to install rust-src component" ) ) ;
You can’t perform that action at this time.
0 commit comments