File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ import Darwin
34
34
import WinSDK
35
35
#elseif canImport(Glibc)
36
36
import Glibc
37
+ #elseif canImport(Musl)
38
+ import Musl
37
39
#else
38
40
#error("Unsupported runtime")
39
41
#endif
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ import Darwin
18
18
import CRT
19
19
#elseif canImport(Glibc)
20
20
import Glibc
21
+ #elseif canImport(Musl)
22
+ import Musl
21
23
#elseif canImport(WASILibc)
22
24
import WASILibc
23
25
#else
@@ -1251,6 +1253,9 @@ let systemStdout = CRT.stdout
1251
1253
#elseif canImport(Glibc)
1252
1254
let systemStderr = Glibc . stderr!
1253
1255
let systemStdout = Glibc . stdout!
1256
+ #elseif canImport(Musl)
1257
+ let systemStderr = Musl . stderr!
1258
+ let systemStdout = Musl . stdout!
1254
1259
#elseif canImport(WASILibc)
1255
1260
let systemStderr = WASILibc . stderr!
1256
1261
let systemStdout = WASILibc . stdout!
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ import Darwin
18
18
import CRT
19
19
#elseif canImport(Glibc)
20
20
import Glibc
21
+ #elseif canImport(Musl)
22
+ import Musl
21
23
#elseif canImport(WASILibc)
22
24
import WASILibc
23
25
#else
You can’t perform that action at this time.
0 commit comments