mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
Work around windows bugs harder
This commit is contained in:
1 parent
9a046498d0
commit
b93169b8e2
1 file changed
+7
-1
+7
-1
@@ -25,6 +25,12 @@ let swiftSettings: [SwiftSetting] = [
|
||||
.enableExperimentalFeature("Lifetimes"),
|
||||
]
|
||||
|
||||
#if os(Linux)
|
||||
let filesToExclude = ["CMakeLists.txt"]
|
||||
#else
|
||||
let filesToExclude = ["CMakeLists.txt", "Sources/IORing/", "Tests/SystemTests/IORequestTests.swift", "Tests/SystemTests/IORingTests.swift"]
|
||||
#endif
|
||||
|
||||
let package = Package(
|
||||
name: "swift-system",
|
||||
products: [
|
||||
@@ -41,7 +47,7 @@ let package = Package(
|
||||
name: "SystemPackage",
|
||||
dependencies: ["CSystem"],
|
||||
path: "Sources/System",
|
||||
exclude: ["CMakeLists.txt"],
|
||||
exclude: filesToExclude,
|
||||
cSettings: cSettings,
|
||||
swiftSettings: swiftSettings),
|
||||
.testTarget(
|
||||
|
||||
Reference in new issue
Block a user