Skip to content
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

implement workaround for compiler crash #60380 #291

Merged

Conversation

tayloraswift
Copy link
Contributor

we must manually inline MongoConnection.authenticate(clientDetails:using:to:) into MongoSingleConnectionPool.next(for:) due to the llvm coroutine splitting issue swiftlang/swift#60380.

this could also be accomplished by adding @inline(never) to MongoConnection.authenticate(clientDetails:using:to:), but this preserves the runtime behavior more closely.

@Joannis
Copy link
Member

Joannis commented Aug 12, 2022

I'd prefer @inline(never) then

@tayloraswift
Copy link
Contributor Author

done

@Joannis Joannis merged commit 6c813b2 into orlandos-nl:master/7.0 Aug 14, 2022
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