A new swift_macro target kind compiles Swift compiler plugins into dylibs. When an apple_library depends on a swift_macro target, it automatically loads the plugin via -load-plugin-library, so macro expansions are wired without manual flags.
Hive
Define and use Swift macros with apple_library and swift_macro
Published
Jun 12, 2026 · 21:12 UTC
Repository
tuist/once