mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Remove a few @preconcurrency imports
rdar://132378792 is fixed
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user