@@ -143,6 +143,8 @@ public final class Toolchain: Hashable, Sendable {
143
143
throw StubError . error ( " expected dictionary in toolchain data " )
144
144
}
145
145
146
+ print ( " got items for \( path) " )
147
+
146
148
// Extract the identifier.
147
149
let identifier : String
148
150
if case . plString( let toolchainIdentifier) ? = items [ " Identifier " ] {
@@ -153,6 +155,8 @@ public final class Toolchain: Hashable, Sendable {
153
155
throw StubError . error ( " invalid or missing 'Identifier' field " )
154
156
}
155
157
158
+ print ( " got identifier for \( path) " )
159
+
156
160
// Display name
157
161
let displayName : String
158
162
if let infoDisplayName = items [ " Name " ] {
@@ -171,6 +175,8 @@ public final class Toolchain: Hashable, Sendable {
171
175
displayName = Toolchain . deriveDisplayName ( identifier: identifier)
172
176
}
173
177
178
+ print ( " got display name for \( path) " )
179
+
174
180
// Version
175
181
let version : Version
176
182
if let infoVersion = items [ " Version " ] {
@@ -190,6 +196,8 @@ public final class Toolchain: Hashable, Sendable {
190
196
version = Toolchain . deriveVersion ( identifier: identifier)
191
197
}
192
198
199
+ print ( " got version for \( path) " )
200
+
193
201
// Aliases
194
202
var aliases = Set < String > ( )
195
203
if let infoAliases = items [ " Aliases " ] {
@@ -211,6 +219,8 @@ public final class Toolchain: Hashable, Sendable {
211
219
aliases = Toolchain . deriveAliases ( path: path, identifier: identifier)
212
220
}
213
221
222
+ print ( " got aliases for \( path) " )
223
+
214
224
// Framework Search Paths
215
225
var frameworkSearchPaths = Array < String > ( )
216
226
if let infoFrameworkSearchPaths = items [ " FallbackFrameworkSearchPaths " ] {
@@ -289,6 +299,8 @@ public final class Toolchain: Hashable, Sendable {
289
299
path. join ( " usr " ) . join ( " libexec " )
290
300
] )
291
301
302
+ print ( " almsot done for \( path) " )
303
+
292
304
// Construct the toolchain
293
305
self . init ( identifier, displayName, version, aliases, path, frameworkSearchPaths, librarySearchPaths, defaultSettings, overrideSettings, defaultSettingsWhenPrimary, executableSearchPaths: executableSearchPaths, fs: fs)
294
306
}
0 commit comments