Skip to content

Commit a032d8a

Browse files
authored
Clean up os(WASI) in Subprocess.swift
1 parent 8ea889f commit a032d8a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stdlib/private/SwiftPrivateLibcExtras/Subprocess.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ import WinSDK
2525
#if !os(WASI)
2626
// No signals support on WASI yet, see https://github.com/WebAssembly/WASI/issues/166.
2727
internal func _signalToString(_ signal: Int) -> String {
28-
#if os(WASI)
29-
return "unsupported"
30-
#else
3128
switch CInt(signal) {
3229
case SIGILL: return "SIGILL"
3330
case SIGABRT: return "SIGABRT"
@@ -40,7 +37,6 @@ internal func _signalToString(_ signal: Int) -> String {
4037
#endif
4138
default: return "SIG???? (\(signal))"
4239
}
43-
#endif // os(WASI)
4440
}
4541
#endif
4642

0 commit comments

Comments
 (0)