mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
# Motivation The latest nightly toolchains have merged the patch that removes `Sendable` conformance from the various `Unsafe*Pointer` APIs. Our `Lock` type was using such a type internally and had a `Sendable` conformance. This conformance was now failing since the pointer was no longer `Sendable`. # Modification This PR changes the `Sendable` conformance of `Lock` to `@unchecked Sendable`. # Result No more `Sendable` warnings in non-strict mode on nightly toolchains