[Preview] Swift-Syntax Prebuilts for Macros (original) (raw)

dschaefer2 (Doug Schaefer) May 29, 2025, 6:12pm 11

#1. Yes, this is only for macros right now. That was done because we calculate where to use the prebuilts at package load time where we don't know what the target platform is. Macros are guaranteed to be host only where plug-in tools it is not.

I'll take a look at #2. So this is a plugin that depends on an executable (called a plugin tool) that also uses swift-syntax. Thanks for all your help finding that.