; Date: Thu Jun 28 2018
Instructions for cross-compiling Rust code to ARMv7, such as the Raspberry Pi.
In the "crate cargo config" file add this:
[target.armv7-unknown-linux-gnueabihf] linker = "arm-linux-gnueabihf-gcc"
This tells cargo which linker to use when
armv7-unkown-linux-gnueabih is specified as the target.
This Dockerfile, based on
sdthirlwall/raspberry-pi-cross-compiler, sets up a Rust cross-compilation environment.
Is the build process to use.