Skip to content

Swift 6.4 support#845

Draft
johnfairh wants to merge 4 commits into
jpsim:mainfrom
johnfairh:jf-swift64-2
Draft

Swift 6.4 support#845
johnfairh wants to merge 4 commits into
jpsim:mainfrom
johnfairh:jf-swift64-2

Conversation

@johnfairh

Copy link
Copy Markdown
Collaborator

Update for Swift 6.4

Few basic changes using Xcode 27b2 / swiftlang-6.4.0.23.5

Then a bigger change to deal with SwiftPM 6.4, which switches the build backend to "Swift Build".
Sadly this no longer produces the debug.yaml file that we used to get compiler arguments for SourceKit.

This PR adds an Xcode-like method for SwiftPM -- build the package with a "-v" flag, spot the command to build the module, and parse out the compiler arguments and source files.

Very little new code for this, reuses the Xcode arg-parsing routines, but moving all the SwiftPM-specific stuff into a new file, refactors in separate commits.

WIP - see how the beta train goes over the summer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant