alixinne / blog-cross-rpi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example repository for the post I tried cross-compiling for the Raspberry Pi.

Getting started

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

Author

Vincent Tavernier vince.tavernier@gmail.com

About


Languages

Language:Rust 100.0%