Example repository for the post I tried cross-compiling for the Raspberry Pi.
Compile and run for your host platform with cargo
:
# Base version
cargo run
# With dependencies
cargo run --all-features
Compile for the Raspberry Pi Zero with cross
:
# Base version
cross build --target arm-unknown-linux-gnueabihf
# With dependencies
export ENABLE_PYO3=1
cross build --target arm-unknown-linux-gnueabihf --all-features
Vincent Tavernier vince.tavernier@gmail.com