From aed558776bf1ea2025d4ef8402675c535e53ad89 Mon Sep 17 00:00:00 2001 From: Guillaume Lessard Date: Thu, 3 Jul 2025 14:53:48 -0700 Subject: [PATCH] Remove a workaround --- .../SubprocessFoundation/Output+Foundation.swift | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift b/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift index 1aaf157..de965c0 100644 --- a/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift +++ b/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift @@ -63,17 +63,4 @@ extension Data { } } -// MARK: - Workarounds -#if SubprocessSpan -extension OutputProtocol { - @_disfavoredOverload - public func output(from data: some DataProtocol) throws -> OutputType { - // FIXME: remove workaround for - // rdar://143992296 - // https://github.com/swiftlang/swift-subprocess/issues/3 - return try self.output(from: data.bytes) - } -} -#endif - #endif // SubprocessFoundation