File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ import Glibc
34
34
import Android
35
35
#elseif canImport(Musl)
36
36
import Musl
37
+ #elseif canImport(WASILibc)
38
+ import WASILibc
39
+ #if canImport(wasi_pthread)
40
+ import wasi_pthread
41
+ #endif
37
42
#else
38
43
#error("Unsupported runtime")
39
44
#endif
Original file line number Diff line number Diff line change @@ -23,10 +23,16 @@ import Glibc
23
23
import Android
24
24
#elseif canImport(Musl)
25
25
import Musl
26
+ #elseif canImport(WASILibc)
27
+ import WASILibc
26
28
#else
27
29
#error("Unsupported runtime")
28
30
#endif
29
31
32
+ #if canImport(_CWASI)
33
+ import _CWASI
34
+ #endif
35
+
30
36
public protocol TracerInstant : Comparable , Hashable , Sendable {
31
37
/// Representation of this instant as the number of nanoseconds since UNIX Epoch (January 1st 1970)
32
38
var nanosecondsSinceEpoch : UInt64 { get }
You can’t perform that action at this time.
0 commit comments