원클릭으로
rust-build
Build Rust native libraries for the FFI plugin
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build Rust native libraries for the FFI plugin
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Orchestrate large-scale changes across the codebase using parallel worktree agents. Use when you need to apply similar changes to many files or modules simultaneously.
Run comprehensive Flutter checks including lint, analyze, test, and format verification. Use before commits to ensure code quality.
Explains the Keychat app architecture and key components
Initialize or reset the Keychat development environment
Clean build artifacts and reset Flutter state
Run code generation for Isar models, JSON serialization, and i18n
| name | rust-build |
| description | Build Rust native libraries for the FFI plugin |
| argument-hint | [target] |
| disable-model-invocation | true |
| allowed-tools | Bash(cargo *), Bash(rustup *) |
Build the Rust native libraries for the keychat_rust_ffi_plugin.
$ARGUMENTS - Target platform: ios, android, linux, windows, macosEnsure flutter_rust_bridge codegen is installed:
cargo install flutter_rust_bridge_codegen@2.11.1
For Linux, install system dependencies:
apt install protobuf-compiler libsecret-1-dev
| Platform | Target | Setup & Build |
|---|---|---|
| iOS | aarch64-apple-ios | rustup target add aarch64-apple-ios && cargo build --target aarch64-apple-ios --release |
| Android | aarch64-linux-android | rustup target add aarch64-linux-android && cargo build --target aarch64-linux-android --release |
| Linux | x86_64-unknown-linux-gnu | rustup target add x86_64-unknown-linux-gnu && cargo build --target x86_64-unknown-linux-gnu --release |
| Windows | x86_64-pc-windows-msvc | rustup target add x86_64-pc-windows-msvc && cargo build --target x86_64-pc-windows-msvc --release |
| macOS | aarch64-apple-darwin | rustup target add aarch64-apple-darwin && cargo build --target aarch64-apple-darwin --release |
Change to the Rust plugin directory:
cd packages/keychat_rust_ffi_plugin/rust
If no target specified, ask which platform to build for
Add the rustup target if not already added:
rustup target add <target>
Build the library:
cargo build --target <target> --release --target-dir target
Report build success or any errors
After modifying Rust API files, regenerate the Dart bindings:
cd packages/keychat_rust_ffi_plugin
flutter_rust_bridge_codegen generate