Hive
feat(graph/apple): multi-arch, swift_macro, .hmap, and select() for apple_library
GitHub issue · Closed
Source
tuist/once #88
Updated
Jun 24, 2026
Domains
Once
Summary
- Build out the four “Not yet implemented” features the Apple graph guide previously listed: multi-arch +
lipofan-out, aswift_macrorule plus auto-loaded compiler plugins onapple_library, binary.hmapemission alongside the modulemap, and a manifest-levelselect()runtime forconfigurable = Trueattributes. - Keep all toolchain knowledge in the Starlark prelude. Rust gains one new generic primitive,
write_bytes(path, list[int]), used by the prelude to emit the Apple header-map binary; the format itself is constructed in Starlark. The hardcodedAPPLE_RULESexport name is now the genericRULES, and the executor docstring states explicitly that Rust has no knowledge of the build systems composed on top of its primitives. - Apple graph docs updated to match: the rules list is split into “Implemented” (
apple_library,swift_macro) and “Declared, awaiting implementation” (the bundle / app / test-host kinds), the agent workflows section is removed, and a Configurable attributes section documents the TOMLselectshape.
Testing
cargo test -p once-frontend(60 passed)cargo check --workspace
No GitHub comments yet.