Rustup: Default choice when running rustup-init without build tools installed is to continue

Created on 8 Oct 2020  路  5Comments  路  Source: rust-lang/rustup

Describe the problem you are trying to solve

Running rustup-init.exe on a computer without C++ build tools installed display an useful message explaining to the
user how to install the requirement, while indicating that this requirement may be ignored if the user want to target only GNU ABI, or if he know what he's doing.

The default action prompted is to continue the installation process anyway, and I think it may not be the best idea. A lot of users will just want to get started with rust and will likely need the build tools installed before installing the toolchain. The other scenario will happen less often.

I think the default choice should be to not continue the installation process to prevent mistakes, and letting people who know what they are doing choosing to continue the installation process anyway.

Capture

Describe the solution you'd like

Changing the default action to No to prevent any mistakes.

Notes

I think this is an opinionated suggestion and may not be the best one, therefore it's rather an open question than an issue.

E-easy E-mentor enhancement help wanted

All 5 comments

As someone who is not a Windows dev by default, I do not know what the most common situation is for people. I'd imagine anyone doing development on Windows will understand what to do here, but perhaps the default should be 'n' to improve chances people actually read the message before proceeding?

Yea that was exactly my point, I have struggle to explain what I'm thinking but you're right!

Okay, so if someone wants to take this on, the goal is to change the default for this prompt from Y to N. Mentoring available if needed, but it should be a fairly straightforward change.

I can manage the PR later today!

I have opened the PR!

Cheers,

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KasMA1990 picture KasMA1990  路  3Comments

Stargateur picture Stargateur  路  3Comments

matthiaskrgr picture matthiaskrgr  路  3Comments

jjl picture jjl  路  3Comments

lilred picture lilred  路  3Comments