Hive
feat(prelude): support shared native mobile code
GitHub issue · Closed
Source
tuist/once #131
Updated
Jul 5, 2026
Domains
Once
Summary
- Adds shared mobile code target kinds for Swift into Android native libraries and Kotlin/Native into Apple frameworks, so cross-platform source sharing is modeled directly in the prelude.
- Extends Android and Apple consumers to use generic native provider contracts, which keeps platform-specific behavior in Starlark target kinds instead of adding core graph special cases.
- Extends
rust_libraryso Rust static libraries can feed Apple link targets and Rust Android dynamic libraries can be packaged into APKs. - Adds starter examples, a composed
native-mobile-shared-code-e2eapp graph, schema coverage, focused prelude tests, and reference docs for the new contracts.
Testing
mise exec -- cargo test -p once-frontendmise exec -- cargo fmt --all -- --checkgit diff --check- Manual check: scanned touched rule, test, and docs files for prohibited punctuation.
Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.
New Flights are paused
Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet
Start a Flight and preserve its objective, outcome, and session here.
No GitHub comments yet.