File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
tools/swift-inspect/Sources/swift-inspect Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 10
10
//
11
11
//===----------------------------------------------------------------------===//
12
12
13
+ #if os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(Windows)
14
+
13
15
import ArgumentParser
14
16
import SwiftRemoteMirror
15
17
@@ -44,3 +46,5 @@ internal struct DumpArrays: ParsableCommand {
44
46
}
45
47
}
46
48
}
49
+
50
+ #endif
Original file line number Diff line number Diff line change @@ -136,14 +136,21 @@ internal struct SwiftInspect: ParsableCommand {
136
136
DumpArrays . self,
137
137
DumpConcurrency . self,
138
138
]
139
- #else
139
+ #elseif os(Windows)
140
140
static let subcommands : [ ParsableCommand . Type ] = [
141
141
DumpConformanceCache . self,
142
142
DumpRawMetadata . self,
143
143
DumpGenericMetadata . self,
144
144
DumpCacheNodes . self,
145
145
DumpArrays . self,
146
146
]
147
+ #else
148
+ static let subcommands : [ ParsableCommand . Type ] = [
149
+ DumpConformanceCache . self,
150
+ DumpRawMetadata . self,
151
+ DumpGenericMetadata . self,
152
+ DumpCacheNodes . self,
153
+ ]
147
154
#endif
148
155
149
156
static let configuration = CommandConfiguration (
You can’t perform that action at this time.
0 commit comments