Skip to content

Commit 7886257

Browse files
committed
cleanup
1 parent 5f4ab89 commit 7886257

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,12 +1727,10 @@ void ::swift_distributed_execute_target(
17271727
void *argumentBuffer,
17281728
void *resultBuffer) {
17291729
auto *accessor = findDistributedAccessor(targetNameStart, targetNameLength);
1730-
17311730
if (!accessor) {
17321731
assert(false && "no distributed accessor accessor");
17331732
return; // FIXME(distributed): return -1 here so the lib can fail the call
17341733
}
1735-
fprintf(stderr, "[%s:%d] (%s) found accessor\n", __FILE__, __LINE__, __FUNCTION__);
17361734

17371735
auto *asyncFnPtr = reinterpret_cast<
17381736
const AsyncFunctionPointer<DistributedAccessorSignature> *>(

stdlib/public/Distributed/DistributedActorSystem.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ extension DistributedActorSystem {
248248

249249
do {
250250
// Execute the target!
251-
print("EXECUTE the target: \(mangledTargetName)")
252251
try await _executeDistributedTarget(
253252
on: actor,
254253
mangledTargetName, UInt(mangledTargetName.count),

test/Distributed/Runtime/distributed_actor_remoteCall.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ func test() async throws {
116116
handler: FakeResultHandler()
117117
)
118118

119-
// CHECK: RETURN
119+
// CHECK: done
120+
print("done")
120121
}
121122

122123
@main struct Main {

0 commit comments

Comments
 (0)