swiftlang / swift-corelibs-libdispatch

The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware
swift.org
Apache License 2.0
2.47k stars 460 forks source link

Remove objc_retainAutoreleasedReturnValue workaround. #819

Closed al45tair closed 8 months ago

al45tair commented 8 months ago

The compiler has now been fixed to not generate calls to this function unless ObjC interop is enabled.

rdar://123945799

al45tair commented 8 months ago

@swift-ci test Linux platform

al45tair commented 8 months ago

@swift-ci test Windows platform

al45tair commented 8 months ago

See https://github.com/apple/swift/pull/72011 for the compiler fix.