Skip to content

Commit 8c8c384

Browse files
committed
Remove dead code causing a failure on Windows
This appears to be unused, and causes the build to fail on Windows with Swift 6.1.
1 parent 8bec498 commit 8c8c384

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Sources/Subprocess/Platforms/Subprocess+Windows.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,13 +1235,4 @@ extension UInt8 {
12351235
}
12361236
}
12371237

1238-
extension OutputProtocol {
1239-
internal func output(from data: [UInt8]) throws -> OutputType {
1240-
return try data.withUnsafeBytes {
1241-
let span = RawSpan(_unsafeBytes: $0)
1242-
return try self.output(from: span)
1243-
}
1244-
}
1245-
}
1246-
12471238
#endif // canImport(WinSDK)

0 commit comments

Comments
 (0)