Skip to content

Commit bc4e6e3

Browse files
committed
Use Swift 5 language mode
`MachPort` is fine with Swift 6.1 and up, but does not compile with Swift 6.0’s Swift 6 language mode. `import CSystem` is a problem in the Linux version (inconsistently imported as implementation-only.) The Wasm implementation seems not concurrency-safe.
1 parent d8dd951 commit bc4e6e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Package.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,6 @@ let package = Package(
139139
exclude: testsToExclude,
140140
cSettings: cSettings,
141141
swiftSettings: swiftSettings),
142-
])
143-
142+
],
143+
swiftLanguageVersions: [.v5]
144+
)

0 commit comments

Comments
 (0)