Hive Hive
Sign in

Define and use Swift macros with apple_library and swift_macro

Metadata
Source
GitHub
Version
0.18.0
Domains
Published
Jun 12, 2026 · 21:12 UTC
Repository
tuist/once
Update

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.