build | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / build

build

maintained by egill

star 0 account_tree 0 verified_user MIT License
bolt View GitHub

name: build description: Build gateway for different targets (macOS, Linux aarch64, Raspberry Pi). Use when building the Rust application for local development or cross-compilation.

/build

Build gateway for different targets.

Local (macOS)

cargo build --release

Cross-compile for Linux aarch64 (Netto server)

Option 1: cargo-zigbuild (Recommended)

Install once:

cargo install cargo-zigbuild
brew install zig

Build:

cargo zigbuild --release --target aarch64-unknown-linux-gnu

Binary at: target/aarch64-unknown-linux-gnu/release/gateway

Option 2: Remote build

Build directly on the target server:

rsync -avz --exclude target --exclude .git ./ avero@HOST:~/gateway/
ssh avero@HOST "source ~/.cargo/env && cd ~/gateway && cargo build --release"

Targets

Target Architecture OS
default arm64 macOS
aarch64-unknown-linux-gnu aarch64 Linux
x86_64-unknown-linux-gnu x86_64 Linux

Test before deploy

cargo test
cargo clippy

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 0
GitHub Forks 0
Created Jan 2026
Last Updated 5 months ago
tools tools cicd

Related Skills

docker-expert
chevron_right
feature-dev
chevron_right
writing-skills
chevron_right
executing-plans
chevron_right
creating-pr
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.