Skip to content

Commit 7d7a0bf

Browse files
committed
do_msvc_check: set default choice to no
Before that the behavior on Windows when running rustup-init without having build tools installed was to continue. Now the user need to explicitly choose to continue installation, and thus we are making sure they are carefully reading the warning message. Closes: #2514
1 parent 1863453 commit 7d7a0bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/self_update.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ pub fn install(
307307
warn!("installing msvc toolchain without its prerequisites");
308308
} else {
309309
md(&mut term, MSVC_MESSAGE);
310-
if !common::confirm("\nContinue? (Y/n)", true)? {
310+
if !common::confirm("\nContinue? (y/N)", false)? {
311311
info!("aborting installation");
312312
return Ok(utils::ExitCode(0));
313313
}

0 commit comments

Comments
 (0)