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.
This commit is contained in:
Guillaume Lessard committed 2025-09-18 17:52:01 -07:00
1 parent d8dd95176b
commit bc4e6e3bea
1 file changed
+3 -2
+3 -2
View File
@@ -139,5 +139,6 @@ let package = Package(
exclude: testsToExclude,
cSettings: cSettings,
swiftSettings: swiftSettings),
])
],
swiftLanguageVersions: [.v5]
)