<div dir="ltr"><div><div><div>Hello,<br><br></div>I've been attempting to get Rust up and running on an old i586 laptop.<br><br></div>i586 is a superset of i386 but a subset of x86_64 and I understand that i586 is not supported by Rust officially but that i386 binaries should be sufficient.  <br><br>I've tried the stable and nightly binaries of Rust (which are downloaded and installed as i686).  I've also installed tried the i386 binaries installed from Debian Unstable repos.<br><br></div><div>In all cases, when I try to compile some rust eg the hello world example; rustc fails with an error 'illegal hardware instruction'.<br><br></div><div>I suspect I may need to compile Rust from source myself, setting the right CFLAGS for my target architecture.  However I'm not sure where to start.  I've managed to cross compile C code on my amd64 that runs on the i586 by simply building with -m32 however I'm sure building Rust is not that simple.<br><br></div><div>Can anyone help me debug the Debian Rust packages or help me set up a toolchain for cross compiling i586 packages?<br><br></div><div>Kind regards, James<br></div></div>