Open
Description
On macOS, DispatchSpecificKey
is defined like this:
final public class DispatchSpecificKey<T> {
public init()
}
extension DispatchSpecificKey : Sendable where T : Sendable {
}
on Linux the conditional conformance to Sendable
is missing.
The end result is that code with strict concurrency checking that does compile under macOS with Swift 6 does not compile under Linux.
See the associated post here: https://forums.swift.org/t/dispatchqueue-setspecific-swift-6-concurrency-linux/74653
Metadata
Metadata
Assignees
Labels
No labels