-
-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust and rustup should be msvc by default #931
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This will be a breaking change for a lot of users. I don't think it's worth it. |
If the I think there should at least be a warning in the |
I've revisited this thread, and I think we should switch the @comp500 thanks for the detailed info. Could you make a PR for the change? We can just keep one |
Should I add a |
Yes |
Changes rust and rustup packages to use MSVC toolchain by default, as this is generally the better supported (and default) choice. In the rustup package, the MSVC version is always used (the GCC build of rustup provides no benefits, and the MSVC version can be used to install MSVC toolchains). The --default-host flag has been removed, so new installs will use the rustup default (MSVC) but existing installs will have a configuration file indicating GCC is the default; a note was added to the rustup packages stating how to change this. The rust-gnu package was added, to allow using the GCC toolchain without rustup, and a note was added to all rust packages indicating that rustup can be used to more easily manage multiple toolchains (and is the primary install method; see https://forge.rust-lang.org/infra/other-installation-methods.html). Closes ScoopInstaller#931.
Changes rust and rustup packages to use MSVC toolchain by default, as this is generally the better supported (and default) choice. In the rustup package, the MSVC version is always used (the GCC build of rustup provides no benefits, and the MSVC version can be used to install MSVC toolchains). The --default-host flag has been removed, so new installs will use the rustup default (MSVC) but existing installs will have a configuration file indicating GCC is the default; a note was added to the rustup packages stating how to change this. The rust-gnu package was added, to allow using the GCC toolchain without rustup, and a note was added to all rust packages indicating that rustup can be used to more easily manage multiple toolchains (and is the primary install method; see https://forge.rust-lang.org/infra/other-installation-methods.html). Closes ScoopInstaller#931.
The official Rust download page links to the MSVC version. This is what how most users will be installing it so scoop should match that.
There is also a good reason for that default. See the official explanation (emphasis mine):
Therefore
rust
should install the MSVC version and there should be a separaterust-gnu
. Right now it is the other way around, presumably for historical reasons. To preserve backwards compatibility, maybe start by addingrust-gnu
and slowly move towards deprecatingrust
. The same applies torustup
.Thoughts?
The text was updated successfully, but these errors were encountered: