How do I install 1.25 for Raspberry Pi?

Before the release of Rust 1.26, I have installed a toolchain (stable v1.25) on Windows for Raspberry Pi target (armv7-unknown-linux-gnueabihf). This is not quite working as I don't have cross compiling environment in my computer, but I am writing a fake linker and see if I can delegate the call to the linker to my Raspberry Pi. If I can do so, I can then compile a new compiler in my PC and get the toolchain linked and installed in the Raspberry Pi.

Once I upgraded to 1.26 this target were gone. So My experiment cannot continue.

I wonder are there a way to restore my armv7 toolchain so I can continue the development without a full cross compiling environment?

You can explicitly install 1.25.0 instead of stable. That is, rustup toolchain install 1.25.0-armv7-unknown-linux-gnueabihf.

1.26/ARM issue is known and will be fixed.

1 Like

Thanks, I have got it done.