@@ -264,7 +264,6 @@ internal let _NSClassesRenamedByObjCAPINotes: [(class: AnyClass, objCName: Strin
264
264
( ProcessInfo . self, " NSProcessInfo " ) ,
265
265
( Port . self, " NSPort " ) ,
266
266
( PortMessage . self, " NSPortMessage " ) ,
267
- ( SocketPort . self, " NSSocketPort " ) ,
268
267
( Bundle . self, " NSBundle " ) ,
269
268
( ByteCountFormatter . self, " NSByteCountFormatter " ) ,
270
269
( Host . self, " NSHost " ) ,
@@ -279,20 +278,13 @@ internal let _NSClassesRenamedByObjCAPINotes: [(class: AnyClass, objCName: Strin
279
278
( JSONSerialization . self, " NSJSONSerialization " ) ,
280
279
( LengthFormatter . self, " NSLengthFormatter " ) ,
281
280
( MassFormatter . self, " NSMassFormatter " ) ,
282
- ( NotificationQueue . self, " NSNotificationQueue " ) ,
283
281
( NumberFormatter . self, " NSNumberFormatter " ) ,
284
- ( Operation . self, " NSOperation " ) ,
285
- ( OperationQueue . self, " NSOperationQueue " ) ,
286
282
( OutputStream . self, " NSOutputStream " ) ,
287
283
( PersonNameComponentsFormatter . self, " NSPersonNameComponentsFormatter " ) ,
288
284
( Pipe . self, " NSPipe " ) ,
289
- ( Progress . self, " NSProgress " ) ,
290
285
( PropertyListSerialization . self, " NSPropertyListSerialization " ) ,
291
- ( RunLoop . self, " NSRunLoop " ) ,
292
286
( Scanner . self, " NSScanner " ) ,
293
287
( Stream . self, " NSStream " ) ,
294
- ( Thread . self, " NSThread " ) ,
295
- ( Timer . self, " NSTimer " ) ,
296
288
( UserDefaults . self, " NSUserDefaults " ) ,
297
289
( FileManager . DirectoryEnumerator. self, " NSDirectoryEnumerator " ) ,
298
290
( Dimension . self, " NSDimension " ) ,
@@ -322,8 +314,20 @@ internal let _NSClassesRenamedByObjCAPINotes: [(class: AnyClass, objCName: Strin
322
314
( UnitVolume . self, " NSUnitVolume " ) ,
323
315
( UnitTemperature . self, " NSUnitTemperature " ) ,
324
316
]
325
- #if !(os(iOS) || os(Android))
317
+ #if !(os(iOS) || os(Android) || os(WASI) )
326
318
map. append ( ( Process . self, " NSTask " ) )
319
+ #endif
320
+ #if !os(WASI)
321
+ map += [
322
+ ( NotificationQueue . self, " NSNotificationQueue " ) ,
323
+ ( Operation . self, " NSOperation " ) ,
324
+ ( OperationQueue . self, " NSOperationQueue " ) ,
325
+ ( SocketPort . self, " NSSocketPort " ) ,
326
+ ( Progress . self, " NSProgress " ) ,
327
+ ( RunLoop . self, " NSRunLoop " ) ,
328
+ ( Thread . self, " NSThread " ) ,
329
+ ( Timer . self, " NSTimer " ) ,
330
+ ]
327
331
#endif
328
332
return map
329
333
} ( )
0 commit comments