Is it true that i586 is not officially supported by Rust? When one runs the rustup.sh install script on i586 hardware it will fail. The installer does support i386, i486, i686, i786, serviced by the download of the i686 binaries.
I’ve heard that i586 is a superset of i386 and a subset of x86_64 so it’s clearly a bit of an odd one, however I expected i386 binaries to work out fine. I edited the rustup.sh script to enable installing of i686 binaries on i586 and got them installed but sure it didn’t work out; if I try to compile hello world with rustc on the i586 I get the error ‘illegal hardware instruction’.
I’ve installed the rust i686 binaries to a VM emulation of i386 architecture and got the hello world to build fine. However when I run the compiled binary i see ‘illegal hardware instruction’ once again.
Can someone confirm whether i586 is supported? I assume it must be possible because Rust can run on bare metal, however I’m completely lost on getting a toolchain set up for building rust binaries to target the i586. Any guidance there would be great.
I could try and build rust sources on the target machine itself however it’s only got 64mb RAM and Rust apparently takes 1.5gb to build. I could probably provide enough RAM as SWAP but given the vintage of the machine I expect compiling Rust would take a week so it’s likely to be a last ditch attempt if I ever try that.