File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -1392,17 +1392,8 @@ static bool swift_isInConformanceExecutionContextImpl(
13921392 return true ;
13931393
13941394 if (context->globalActorIsolationType ) {
1395- if (!_swift_task_isCurrentGlobalActorHook) {
1396- #if defined(__wasm__)
1397- // FIXME: We don't currently support a concurrency model for WebAssembly,
1398- // and the global actor hook isn't getting initialized due to the
1399- // lack of __attribute__((constructor)) support. Therefore, we
1400- // treat everything "as if" it were on the correct global actor.
1401- return true ;
1402- #else
1395+ if (!_swift_task_isCurrentGlobalActorHook)
14031396 return false ;
1404- #endif
1405- }
14061397
14071398 // Check whether we are running on this global actor.
14081399 if (!_swift_task_isCurrentGlobalActorHook (
You can’t perform that action at this time.
0 commit comments