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(
1392
1392
return true ;
1393
1393
1394
1394
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)
1403
1396
return false ;
1404
- #endif
1405
- }
1406
1397
1407
1398
// Check whether we are running on this global actor.
1408
1399
if (!_swift_task_isCurrentGlobalActorHook (
You can’t perform that action at this time.
0 commit comments