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 f736677 commit bfb62e1Copy full SHA for bfb62e1
stdlib/public/Concurrency/MainActor.swift
@@ -162,8 +162,6 @@ extension MainActor {
162
try assumeIsolated(operation, file: file, line: line)
163
}
164
165
-#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
166
-
167
168
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS)
169
@_extern(c, "pthread_main_np")
@@ -197,4 +195,6 @@ public func _deinitOnExecutorMainActorBackDeploy(
197
195
198
196
#endif
199
+#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
+
200
#endif // !$Embedded
0 commit comments