We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e845bd commit 48ac8b6Copy full SHA for 48ac8b6
stdlib/public/Concurrency/Task.cpp
@@ -26,7 +26,7 @@
26
#include <dispatch/dispatch.h>
27
#endif
28
29
-#if !defined(_WIN32) && !defined(__wasi__)
+#if !defined(_WIN32) && !SWIFT_CONCURRENCY_COOPERATIVE_GLOBAL_EXECUTOR
30
#include <dlfcn.h>
31
32
@@ -538,7 +538,7 @@ void swift::swift_continuation_logFailedCheck(const char *message) {
538
}
539
540
void swift::swift_task_asyncMainDrainQueue() {
541
542
auto runLoop =
543
reinterpret_cast<void (*)(void)>(dlsym(RTLD_DEFAULT, "CFRunLoopRun"));
544
if (runLoop)
0 commit comments