I recently acquired a Raspberry PI 2 and I want to run a Rust program on it.
Is there a guide/instructions how to cross compile Rust programs on Raspberry PI 2? I\'ve h
We have rustup now.
$ rustup target add arm-unknown-linux-gnueabihf $ sudo apt-get install gcc-arm-linux-gnueabihf $ echo '[target.arm-unknown-linux-gnueabihf]' >> ~/.cargo/config $ echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config $ cd $ cargo build --target=arm-unknown-linux-gnueabihf