rust-swift-ffi
Installation
SKILL.md
Rust Swift FFI
This skill owns the contract between a hand-written C ABI and its Swift wrapper. Keep the exported C surface small. Keep domain behavior in ordinary Rust code and idiomatic Swift types outside the boundary.
Route neighboring work to these skills when they are installed:
uniffi-boundarywhen UniFFI generates the Swift API. Do not keep a second hand-written ABI for the same surface.rust-ios-buildfor Apple targets, modulemap staging, XCFramework, SwiftPM.rust-native-linkingforbuild.rsandcbindgensetup.rust-unsafefor raw-pointer soundness, layout, and theunsafe_codepolicy.rust-sanitizers-mirifor Miri and sanitizer flags.rust-panic-safetyfor the unwind audit and the panic hook.ffi-error-progress-cancelfor a shared mobile error, progress, and cancellation model.