d2
d2 copied to clipboard
Use new Swift SDK mechanism for cross-compilation
Swift 5.9 introduces cross-compilation SDKs into the package manager that would let us perform the cross-build in a cleaner and more maintainable way without the need to manually maintain a set of flags.
See https://github.com/apple/swift-sdk-generator for details.