mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When a protocol witness thunk is formed to a serialised protocol containing an `async` function, the async function pointer to the conformance needs to be made public due to a SIL Verifier check failure (reference to a non-fragile function from within a public fragile function). Add a stop-gap solution of rolling an extra emission for a private symbol as a public symbol to avoid the error (the underlying issue has been open for ~6y and counting as of this commit). This was identified by swift-package-manager (#64900). Thanks to @DougGregor and @aschwaighofer for the discussion on this!
31 KiB
31 KiB