mirror of
https://github.com/apple/swift-system
synced 2026-11-26 04:57:54 +00:00
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:
1 parent
d8dd95176b
commit
bc4e6e3bea
1 file changed
+3
-2
+3
-2
@@ -139,5 +139,6 @@ let package = Package(
|
||||
exclude: testsToExclude,
|
||||
cSettings: cSettings,
|
||||
swiftSettings: swiftSettings),
|
||||
])
|
||||
|
||||
],
|
||||
swiftLanguageVersions: [.v5]
|
||||
)
|
||||
Reference in new issue
Block a user