[Strict memory safety] Update standard library for unsafe treated as a call effect

(cherry picked from commit 050a514588)
This commit is contained in:
Doug Gregor
2025-04-25 15:29:38 -07:00
parent 56c0ac51de
commit 7f29a27e3d
31 changed files with 77 additions and 74 deletions

View File

@@ -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)