How can I compile Rust code to run on a Raspberry Pi 2?
问题 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 heard about running Rust on RPi or Arduino, although not recently. I want a Hello World equivalent Rust program running on Raspberry Pi 2. It doesn't have to be a literal Hello World program, just something that is of similar low complexity. 回答1: We have rustup now. $ rustup target add arm-unknown-linux-gnueabihf $ sudo apt-get