mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Backtracing] Uncached(Local|Remote)MemoryReader only exists on macOS and Linux.
There's no support for this type on anything other than macOS and Linux right now. rdar://143865183
This commit is contained in:
@@ -96,6 +96,7 @@ extension CachingMemoryReader where Reader == UncachedMemserverMemoryReader {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if os(Linux) || os(macOS)
|
||||
@_spi(MemoryReaders)
|
||||
public typealias RemoteMemoryReader = CachingMemoryReader<UncachedRemoteMemoryReader>
|
||||
|
||||
@@ -119,3 +120,4 @@ extension CachingMemoryReader where Reader == UncachedLocalMemoryReader {
|
||||
self.init(for: UncachedLocalMemoryReader())
|
||||
}
|
||||
}
|
||||
#endif // os(Linux) || os(macOS)
|
||||
|
||||
Reference in New Issue
Block a user