Compiling Rust for Raspberry Pi
By: +David Herron; Date: June 28, 2018
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.