Skip to content

Commit bf782d4

Browse files
committed
feat: Enable NIOFoundationCompat module to compile.
1 parent 52296f5 commit bf782d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/NIOFoundationCompat/WaitSpinningRunLoop.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15+
#if !os(WASI)
16+
1517
import Atomics
1618
import Foundation
1719
import NIOConcurrencyHelpers
@@ -70,3 +72,5 @@ extension EventLoopFuture {
7072
}
7173
}
7274
}
75+
76+
#endif // !os(WASI)

0 commit comments

Comments
 (0)