Skip to content

Commit e3c5bc1

Browse files
committed
surround @preconcurrency with swift conditionals
1 parent 9a928df commit e3c5bc1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/Tracing/Span.swift

+4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15+
#if compiler(>=5.6.0)
1516
@preconcurrency import struct Dispatch.DispatchWallTime
17+
#else
18+
@preconcurrency import struct Dispatch.DispatchWallTime
19+
#endif
1620
@_exported import InstrumentationBaggage
1721

1822
/// A `Span` represents an interval from the start of an operation to its end, along with additional metadata included

0 commit comments

Comments
 (0)