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) {
128
128
{
129
129
if ask_user {
130
130
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`" ) ;
131
133
}
132
134
if !Command :: new ( "cargo" ) . args ( & [ "install" , "xargo" ] ) . status ( ) . unwrap ( ) . success ( ) {
133
135
show_error ( format ! ( "Failed to install xargo" ) ) ;
@@ -141,6 +143,8 @@ fn setup(ask_user: bool) {
141
143
if !src. exists ( ) {
142
144
if ask_user {
143
145
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`" ) ;
144
148
}
145
149
if !Command :: new ( "rustup" ) . args ( & [ "component" , "add" , "rust-src" ] ) . status ( ) . unwrap ( ) . success ( ) {
146
150
show_error ( format ! ( "Failed to install rust-src component" ) ) ;
You can’t perform that action at this time.
0 commit comments