Remove a few @preconcurrency imports

rdar://132378792 is fixed
This commit is contained in:
Alex Hoppen
2024-07-31 16:03:06 -07:00
parent 5c2055d54e
commit 970b44d255
8 changed files with 6 additions and 46 deletions

View File

@@ -11,6 +11,7 @@
//===----------------------------------------------------------------------===//
import BuildServerProtocol
import Foundation
import LanguageServerProtocol
import LanguageServerProtocolJSONRPC
import SKLogging
@@ -26,13 +27,6 @@ import var TSCBasic.localFileSystem
import func TSCBasic.lookupExecutablePath
import func TSCBasic.resolveSymlinks
#if canImport(Darwin)
import Foundation
#else
// FIMXE: (async-workaround) @preconcurrency needed because Pipe is not marked as Sendable on Linux rdar://132378792
@preconcurrency import Foundation
#endif
enum BuildServerTestError: Error {
case executableNotFound(String)
}