Skip to content

Commit 3e5dbcc

Browse files
[WASM] Export WASILibc
1 parent 60505b1 commit 3e5dbcc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/Foundation/NSSwiftRuntime.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
// This mimics the behavior of the swift sdk overlay on Darwin
1515
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
1616
@_exported import Darwin
17-
#elseif os(Linux) || os(Android) || CYGWIN || os(WASI)
17+
#elseif os(Linux) || os(Android) || CYGWIN
1818
@_exported import Glibc
19+
#elseif os(WASI)
20+
@_exported import WASILibc
1921
#elseif os(Windows)
2022
@_exported import MSVCRT
2123
#endif

0 commit comments

Comments
 (0)