Skip to content

Commit c644c6a

Browse files
authored
Merge pull request #39507 from DougGregor/mainactor-run-sendable-abi
2 parents 2daa005 + b2a9027 commit c644c6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Concurrency/MainActor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ import Swift
4545
@available(SwiftStdlib 5.5, *)
4646
extension MainActor {
4747
/// Execute the given body closure on the main actor.
48+
@_silgen_name("$sScM3run10resultType4bodyxxm_xyYbKScMYcXEtYaKlFZ")
4849
public static func run<T: Sendable>(
4950
resultType: T.Type = T.self,
5051
body: @MainActor @Sendable () throws -> T

0 commit comments

Comments
 (0)