mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-14 17:02:43 +08:00
preconcurrency on libc imports
This commit is contained in:
parent
29995c1a40
commit
5aa9b76e85
@ -16,11 +16,11 @@ import NIOCore
|
||||
#if canImport(Darwin)
|
||||
import Darwin
|
||||
#elseif canImport(Musl)
|
||||
import Musl
|
||||
@preconcurrency import Musl
|
||||
#elseif canImport(Android)
|
||||
import Android
|
||||
@preconcurrency import Android
|
||||
#else
|
||||
import Glibc
|
||||
@preconcurrency import Glibc
|
||||
#endif
|
||||
|
||||
/// `ChannelInboundHandler` that prints all inbound events that pass through the pipeline by default,
|
||||
|
@ -17,11 +17,11 @@ import NIOCore
|
||||
#if canImport(Darwin)
|
||||
import Darwin
|
||||
#elseif canImport(Musl)
|
||||
import Musl
|
||||
@preconcurrency import Musl
|
||||
#elseif canImport(Android)
|
||||
import Android
|
||||
@preconcurrency import Android
|
||||
#else
|
||||
import Glibc
|
||||
@preconcurrency import Glibc
|
||||
#endif
|
||||
|
||||
/// ChannelOutboundHandler that prints all outbound events that pass through the pipeline by default,
|
||||
|
Loading…
x
Reference in New Issue
Block a user