mirror of
https://github.com/apple/swift-system
synced 2026-11-26 04:57:54 +00:00
Add Sendable conformances (#115)
This commit is contained in:
1 parent
18cceda484
commit
77d9ca18c1
6 files changed
+34
No files matched your search
@@ -288,6 +288,11 @@ extension SystemString {
|
||||
}
|
||||
}
|
||||
|
||||
#if compiler(>=5.5) && canImport(_Concurrency)
|
||||
extension SystemChar: Sendable {}
|
||||
extension SystemString: Sendable {}
|
||||
#endif
|
||||
|
||||
// TODO: SystemString should use a COW-interchangable storage form rather
|
||||
// than array, so you could "borrow" the storage from a non-bridged String
|
||||
// or Data or whatever
|
||||
Reference in new issue
Block a user