Adds full support for ~Copyable on Darwin and Linux platforms aligning with the Swift 6 definitions;
public struct Mutex<Value: ~Copyable>: ~Copyable { ... }
extension Mutex: @unchecked Sendable where Value: ~Copyable { }
Note:
AllocatedLock
is no longer used byMutex
and has been deprecated. It will be removed in a future release.