AGENT SKILL
cross-compile
暂无简介
- License 许可
- MIT
- 所属仓库
- joapedu/minis
- 最近更新
- 2026-09-02
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
Prompt: Cross-compile helper
Purpose: commands and conventions to cross-compile the tiny-binaries framework for Android, iOS, Windows and macOS. Link-first: point to tools and CI templates rather than copying long docs.
When asked to cross-compile:
- Prefer using the helper scripts in
tools/. - Android:
cargo install cargo-ndkthencargo ndk -t armeabi-v7a -t arm64-v8a -- build --release - iOS: build on macOS; prefer
cargo-lipofor universal libraries:cargo install cargo-lipothencargo lipo --release. - Windows: use
x86_64-pc-windows-gnuor MSVC toolchain depending on CI runner.
CI notes:
- Use GitHub Actions matrix with
ubuntu-latest,windows-latest,macos-latestand anandroidjob.