Skip to content

Instantly share code, notes, and snippets.

@rhaleblian
Last active February 20, 2026 19:51
Show Gist options
  • Select an option

  • Save rhaleblian/cdc52f58147346b9e06f422b45929805 to your computer and use it in GitHub Desktop.

Select an option

Save rhaleblian/cdc52f58147346b9e06f422b45929805 to your computer and use it in GitHub Desktop.
Build zeroclaw on desktop for Bela Classic
# ref: https://doc.rust-lang.org/nightly/rustc/platform-support.html
# this may change for Bela Gem
TARGET=armv7-unknown-linux-gnueabihf
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# select (1)
. "$HOME/.cargo/env"
cargo install cross
git clone https://github.com/zeroclaw-labs/zeroclaw
cd zeroclaw
cross build --target=$TARGET --release
ls target/$TARGET/release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment