A new swift_macro target kind compiles Swift compiler plugin dylibs. Any apple_library that depends on a swift_macro target automatically receives -load-plugin-library <dylib> on its Swift compiler invocation, so you can wire macros without hand-crafting plugin flags.
Hive
New swift_macro target kind for compiler plugins
Published
Jun 12, 2026 · 21:12 UTC
Repository
tuist/once