mirror of
https://github.com/apple/swift-nio.git
synced 2026-05-20 20:30:36 +00:00
40ee44c6b9
### Motivation: The non-`Darwin` libcs don't have the correct concurrency annotations. But due to these Swift bugs, it's important that the _first_ importer uses `@preconcurrency`: - https://github.com/swiftlang/swift/issues/79414 - https://github.com/swiftlang/swift/issues/77866 ### Modifications: Much like the Foundation (& corelibs) PRs such as https://github.com/swiftlang/swift-foundation/pull/1175 , use `@preconcurrency import` for the non-`Darwin` libcs. ### Result: Fewer bad warnings/errors in user code.