Skip to content

[silgen] Make async_Main compatible with calling nonisolated(nonsending) functions. #82387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

gottesmm
Copy link
Contributor

The problem is that async_Main was setting an executor as its main executor instead of an actor. This patch fixes the issue by just grabbing the main actor instead.

rdar://153082633

…ng) functions.

The problem is that async_Main was setting an executor as its main executor
instead of an actor. This patch fixes the issue by just grabbing the main actor
instead.

rdar://153082633
@gottesmm gottesmm requested a review from jckarter as a code owner June 20, 2025 22:50
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm gottesmm merged commit c3e7286 into swiftlang:main Jun 21, 2025
3 checks passed
@gottesmm gottesmm deleted the pr-77ff4b6cf71ce0da4aaf358ecaa5d0ad29405276 branch June 21, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants