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
3434import Android
3535#elseif canImport(Musl)
3636import Musl
37+ #elseif canImport(WASILibc)
38+ import WASILibc
39+ #if canImport(wasi_pthread)
40+ import wasi_pthread
41+ #endif
3742#else
3843#error("Unsupported runtime")
3944#endif
Original file line number Diff line number Diff line change @@ -23,10 +23,16 @@ import Glibc
2323import Android
2424#elseif canImport(Musl)
2525import Musl
26+ #elseif canImport(WASILibc)
27+ import WASILibc
2628#else
2729#error("Unsupported runtime")
2830#endif
2931
32+ #if canImport(_CWASI)
33+ import _CWASI
34+ #endif
35+
3036public protocol TracerInstant : Comparable , Hashable , Sendable {
3137 /// Representation of this instant as the number of nanoseconds since UNIX Epoch (January 1st 1970)
3238 var nanosecondsSinceEpoch : UInt64 { get }
You can’t perform that action at this time.
0 commit comments