← Back to list

build
by egill
⭐ 0🍴 0📅 Jan 23, 2026
SKILL.md
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
Score
Total Score
40/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon