Skip to content

0.1.2

@ph1ps ph1ps tagged this 24 Nov 12:45
A macro target that depends on a library the runtime also uses makes
Xcode build swift-syntax from source for every macro in the graph,
instead of using the swift-syntax prebuilts. Packages that only depend
on SemanticVersion paid that cost too, since Xcode loads every target.

The macro now compiles the Foundation parser and _Prerelease itself
through symlinks, and depends on swift-syntax alone. The import of
_SemanticVersionBackendCore is skipped there with a define. The runtime
parser is unchanged.

The lockfile moves to swift-macro-testing 0.7.0 and swift-syntax 604, so
the tests build on Swift 6.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assets 2
Loading