Skip to content

Commit 8c2dffd

Browse files
authored
test: add missing import WASILibc to cancellation_handler.swift (#67143)
This allows this test to build and run when targeting WASI.
1 parent f027635 commit 8c2dffd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Concurrency/Runtime/cancellation_handler.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
import Darwin
1313
#elseif canImport(Glibc)
1414
import Glibc
15+
#elseif canImport(WASILibc)
16+
import WASILibc
1517
#elseif os(Windows)
1618
import WinSDK
1719
#endif

0 commit comments

Comments
 (0)