Skip to content

Commit

Permalink
Work around inconsistent concurrency annotations in Dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa committed Dec 16, 2024
1 parent 0dd4625 commit 4435488
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/NIOEmbedded/AsyncTestingEventLoop.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@

#if canImport(Dispatch)
import Atomics

#if canImport(Darwin)
import Dispatch
#else
@preconcurrency import Dispatch
#endif
import NIOConcurrencyHelpers
import NIOCore
import _NIODataStructures
Expand Down

0 comments on commit 4435488

Please sign in to comment.