Merge branch 'david/ioring' of https://github.com/apple/swift-system into david/ioring

This commit is contained in:
David Smith committed 2025-07-04 00:11:17 +00:00
commit e580c13ca8
3 files changed
+10 -1

No files matched your search

+6 -1
View File
@@ -1,6 +1,11 @@
#if os(Linux)
import CSystem
import Glibc // needed for mmap
// needed for mmap
#if canImport(Glibc)
import Glibc
#elseif canImport(Musl)
import Musl
#endif
import Synchronization
extension UnsafeMutableRawPointer {
+2
View File
@@ -1,3 +1,4 @@
#if os(Linux)
import XCTest
#if SYSTEM_PACKAGE
@@ -27,3 +28,4 @@ final class IORequestTests: XCTestCase {
XCTAssertEqual(sourceBytes, .init(repeating: 0, count: 64))
}
}
#endif
+2
View File
@@ -1,3 +1,4 @@
#if os(Linux)
import XCTest
import CSystem //for eventfd
@@ -98,3 +99,4 @@ final class IORingTests: XCTestCase {
rawBuffer.deallocate()
}
}
#endif