mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
Merge pull request #249 from glessard/feature-flag-condition
Gate 6.2 features by feature flag
This commit is contained in:
6 files changed
+18
-18
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#if compiler(>=6.2)
|
||||
#if compiler(>=6.2) && $Lifetimes
|
||||
#if os(Linux)
|
||||
|
||||
import CSystem
|
||||
@@ -67,5 +67,5 @@ public extension IORing.Completion {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif // os(Linux)
|
||||
#endif // compiler(>=6.2) && $Lifetimes
|
||||
@@ -1,4 +1,4 @@
|
||||
#if compiler(>=6.2)
|
||||
#if compiler(>=6.2) && $Lifetimes
|
||||
#if os(Linux)
|
||||
|
||||
import CSystem
|
||||
@@ -493,5 +493,5 @@ extension IORing.Request {
|
||||
return request
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif // os(Linux)
|
||||
#endif // compiler(>=6.2) && $Lifetimes
|
||||
@@ -1,4 +1,4 @@
|
||||
#if compiler(>=6.2)
|
||||
#if compiler(>=6.2) && $Lifetimes
|
||||
#if os(Linux)
|
||||
|
||||
import CSystem
|
||||
@@ -900,5 +900,5 @@ extension IORing.RegisteredBuffer {
|
||||
return unsafe _overrideLifetime(span, borrowing: self)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif // os(Linux)
|
||||
#endif // compiler(>=6.2) && $Lifetimes
|
||||
@@ -1,4 +1,4 @@
|
||||
#if compiler(>=6.2)
|
||||
#if compiler(>=6.2) && $Lifetimes
|
||||
#if os(Linux)
|
||||
|
||||
import CSystem
|
||||
@@ -201,5 +201,5 @@ extension RawIORequest {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif // os(Linux)
|
||||
#endif // compiler(>=6.2) && $Lifetimes
|
||||
@@ -1,4 +1,4 @@
|
||||
#if compiler(>=6.2)
|
||||
#if compiler(>=6.2) && $Lifetimes
|
||||
#if os(Linux)
|
||||
|
||||
import XCTest
|
||||
@@ -30,5 +30,5 @@ final class IORequestTests: XCTestCase {
|
||||
XCTAssertEqual(sourceBytes, .init(repeating: 0, count: 64))
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif // os(Linux)
|
||||
#endif // compiler(>=6.2) && $Lifetimes
|
||||
@@ -1,4 +1,4 @@
|
||||
#if compiler(>=6.2)
|
||||
#if compiler(>=6.2) && $Lifetimes
|
||||
#if os(Linux)
|
||||
|
||||
import XCTest
|
||||
@@ -128,5 +128,5 @@ final class IORingTests: XCTestCase {
|
||||
rawBuffer.deallocate()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif // os(Linux)
|
||||
#endif // compiler(>=6.2) && $Lifetimes
|
||||
Reference in new issue
Block a user