AGENT SKILL

build-rust

Build Rust moq-ffi for iOS/Android targets

License 许可
Apache-2.0
最近更新
2026-09-28
Stars
★ 32
Forks
6

01 前言 Front Matter

name
build-rust
description
Build Rust moq-ffi for iOS/Android targets

03 SKILL.md 正文

Build Rust

All commands run from the moq-kit root directory.

iOS targets

cargo build --release --package moq-ffi --target aarch64-apple-ios
cargo build --release --package moq-ffi --target aarch64-apple-ios-sim

Android targets

cargo ndk -t arm64-v8a build --release --package moq-ffi

C bindings only (libmoq)

cargo build --release --package libmoq

Debug symbols

Use --profile release-with-debug instead of --release to include DWARF debug info.

Lint and test

mise run rust:check   # tests + linting
mise run rust:fix     # auto-format

04 同仓库更多 Skills