mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Strict memory safety] Update standard library for unsafe treated as a call effect
(cherry picked from commit 050a514588)
This commit is contained in:
@@ -549,7 +549,7 @@ extension DistributedActorSystem {
|
||||
errorCode: .typeDeserializationFailure)
|
||||
}
|
||||
|
||||
guard let resultBuffer = _openExistential(returnTypeFromTypeInfo, do: unsafe doAllocateReturnTypeBuffer) else {
|
||||
guard let resultBuffer = _openExistential(returnTypeFromTypeInfo, do: doAllocateReturnTypeBuffer) else {
|
||||
throw ExecuteDistributedTargetError(
|
||||
message: "Failed to allocate buffer for distributed target return type",
|
||||
errorCode: .typeDeserializationFailure)
|
||||
|
||||
Reference in New Issue
Block a user