swiftlang / swift-sdk-generator

Generate Swift SDKs for cross-compilation
Apache License 2.0
182 stars 15 forks source link

Enable Swift 6 mode when available, sync `QueryEngine` sources #136

Closed MaxDesiatov closed 3 months ago

MaxDesiatov commented 3 months ago

As SwiftPM is more actively developed, let's consider it to be the source of truth and vendor QueryEngine back into swift-sdk-generator together with more fresh AsyncFileSystem code, storing all those files in Source/Helpers/Vendor subdirectory.

All this allows us to fix concurrency errors that prevent it from building in Swift 6 mode.

MaxDesiatov commented 3 months ago

@swift-ci test

MaxDesiatov commented 3 months ago

@swift-ci test

MaxDesiatov commented 3 months ago

@swift-ci test

MaxDesiatov commented 3 months ago

@swift-ci test

MaxDesiatov commented 3 months ago

@swift-ci test

MaxDesiatov commented 3 months ago

@swift-ci test

kateinoigakukun commented 3 months ago

Let me check 5.8 compatibility before merging

kateinoigakukun commented 3 months ago

@MaxDesiatov We need this change against AsyncFileSystem to keep 5.8 compatibility. https://github.com/swiftlang/swift-package-manager/pull/7928 Could you update the vendored files after the PR is merged?

MaxDesiatov commented 3 months ago

@swift-ci test

MaxDesiatov commented 3 months ago

@kateinoigakukun done, ready for review