Skip to content
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

config: get_default_host_triple() should use from_host_or_build() #2186

Merged

Conversation

kinnison
Copy link
Contributor

@kinnison kinnison commented Jan 6, 2020

In order to resolve an issue where installing on x86_64 with the
i686 installer would claim to want to install x86_64 and then
install i686 instead, ensure that we match the obvious behaviour
(install matching the host) by making the default for the config
match that.

Fixes: #2179

At the time of writing the initial change, I'm not certain how we'd test this in CI, but I'll give that some thought.

@kinnison kinnison added this to the 1.22.0 milestone Jan 6, 2020
In order to resolve an issue where installing on x86_64 with the
i686 installer would claim to want to install x86_64 and then
install i686 instead, ensure that we match the obvious behaviour
(install matching the host) by making the default for the config
match that.

Fixes: rust-lang#2179

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
@kinnison kinnison force-pushed the installer-default-host-consistency branch from 51be2e6 to a985815 Compare January 7, 2020 16:07
@kinnison kinnison merged commit 991e56e into rust-lang:master Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustup-init chooses wrong toolchain
1 participant