rustup icon indicating copy to clipboard operation
rustup copied to clipboard

Set the `default host triple` of `x86_64-pc-windows-gnu/rustup-init.exe` to ` x86_64-pc-windows-gnu`

Open wangkirin opened this issue 3 years ago • 6 comments

Problem you are trying to solve

Currently,when I use https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe to download the rustup-init.exe, the default host triple is x86_64-pc-windows-msvc, see the images bellow image

Solution you'd like

I know rustup recommand the user to use x86_64-pc-windows-msvc version, But I think if user download the rustup-init.exe from URL https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe directly , user have already told us they want to use the x86_64-pc-windows-gnu version, it's better to set the default host triple to x86_64-pc-windows-gnu . :)

Notes

No response

wangkirin avatar Apr 11 '22 08:04 wangkirin

I don't think that follows. In fact we are considering removing that binary, if I remember correctly, because of performance from it.

The goal of rustup isn't too have a binary for every possible end user configuration, but rather one for every host it might install on.

Windows...gnu is not a different host in any meaningful way.

Consider eg wasi as another example people might want, but doesn't make sense to encode at the 'this is what you download for rustup' level.

rbtcollins avatar Apr 11 '22 12:04 rbtcollins

Hi Robert, Thank you for your expaniation!

I don't think that follows. In fact we are considering removing that binary, if I remember correctly, because of performance from it.

Do you mean the team is planning to remove the windows version rustup-init? I am interested about it

wangkirin avatar Apr 12 '22 09:04 wangkirin

No, we won't be removing Windows support for rustup - however we may remove the -gnu version of the installer since it's unnecessary.

kinnison avatar May 20 '22 11:05 kinnison

Hello! Is there any update regarding removing the support of x86_64-pc-windows-gnu installer?

SergioGasquez avatar Oct 09 '22 18:10 SergioGasquez

No update, but since it has no impact on our users, I'm curious why you're asking?

rbtcollins avatar Oct 09 '22 21:10 rbtcollins

I was doing some tests with x86_64-pc-windows-gnu, and expected to have a similar experience as with msvc where if you don't have the toolchain installed, rustup recognizes it and allows the user to install it. So, I was about to fill an issue for this request and found this one.

Is there any chance that we could get that feature? Shall I open an issue?

SergioGasquez avatar Oct 10 '22 07:10 SergioGasquez