How can I install rust 1.77.2 in win7 today?

I want to build a software in win7; which doesn't have rust installed.
I know the last rust version suporrting win7 is 1.77.2; but I can't make it installed

I can't found any prebuilt rust toolchains for win7, rustup just quits because it does not support win7 anymore

Maybe it might work using an older version of rustup?

can't found older rustup either...

the old version is at:

https://static.rust-lang.org/rustup/archive/${VERSION}/${TRIPLET}/rustup-init.exe

I don't know exactly which version will be compatible with win7, you'll have to do some experiments yourself. remember to use --no-self-update when installing toolchains.

3 Likes

I don't know for sure, but suspect the latest rustup should work with win7.
Either way, when you get an older rustup version, it may try to install a newer rust version.
See this for installing a specific version of rust:

2 Likes

You could forgo rustup and directly download the version you want, linked here: