Remove the workaround for the linker issue in Swift 6.0 (#488)

This commit is contained in:
Yuta Saito 2024-06-21 01:55:50 +09:00 committed by GitHub
parent 6a41c96914
commit 80169bc0c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 8 deletions

View File

@ -19,7 +19,7 @@ jobs:
swift: "6.0"
swift-install:
dir: "swift-6.0-branch/xcode"
version: "swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-07-a"
version: "swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-19-a"
- os: macos-14
xcode: "15.4"
swift: "5.10"

View File

@ -63,12 +63,6 @@ public enum Environment: String, CaseIterable {
// for future dynamic linking support.
parameters.otherSwiftcFlags += ["-static-stdlib"]
#if compiler(>=6.0) && compiler(<6.1)
// A workaround for the linker issue.
// https://github.com/swiftwasm/swift/issues/5580
parameters.otherLinkerFlags += ["-lswift_RegexParser"]
#endif
switch self {
case .command: break
case .node, .browser:

View File

@ -13,7 +13,7 @@
// limitations under the License.
#if compiler(>=6.0)
public let defaultToolchainVersion = "wasm-6.0-SNAPSHOT-2024-06-08-a"
public let defaultToolchainVersion = "wasm-6.0-SNAPSHOT-2024-06-19-a"
#elseif compiler(>=5.10)
public let defaultToolchainVersion = "wasm-5.10.0-RELEASE"
#else