We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
os(WASI)
Subprocess.swift
1 parent 8ea889f commit a032d8aCopy full SHA for a032d8a
stdlib/private/SwiftPrivateLibcExtras/Subprocess.swift
@@ -25,9 +25,6 @@ import WinSDK
25
#if !os(WASI)
26
// No signals support on WASI yet, see https://github.com/WebAssembly/WASI/issues/166.
27
internal func _signalToString(_ signal: Int) -> String {
28
-#if os(WASI)
29
- return "unsupported"
30
-#else
31
switch CInt(signal) {
32
case SIGILL: return "SIGILL"
33
case SIGABRT: return "SIGABRT"
@@ -40,7 +37,6 @@ internal func _signalToString(_ signal: Int) -> String {
40
37
#endif
41
38
default: return "SIG???? (\(signal))"
42
39
}
43
-#endif // os(WASI)
44
45
46
0 commit comments