File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -221,10 +221,10 @@ public actor SwiftPMBuildSystem {
221
221
let hostSwiftPMToolchain = try UserToolchain ( swiftSDK: hostSDK)
222
222
223
223
var destinationSDK : SwiftSDK
224
- if let swiftSDK = options. swiftSDK {
224
+ if let swiftSDK = options. swiftPM . swiftSDK {
225
225
let bundleStore = try SwiftSDKBundleStore (
226
226
swiftSDKsDirectory: fileSystem. getSharedSwiftSDKsDirectory (
227
- explicitDirectory: options. swiftSDKsDirectory. map { try AbsolutePath ( validating: $0) }
227
+ explicitDirectory: options. swiftPM . swiftSDKsDirectory. map { try AbsolutePath ( validating: $0) }
228
228
) ,
229
229
fileSystem: fileSystem,
230
230
observabilityScope: observabilitySystem. topScope,
@@ -235,7 +235,7 @@ public actor SwiftPMBuildSystem {
235
235
destinationSDK = hostSDK
236
236
}
237
237
238
- if let triple = options. triple {
238
+ if let triple = options. swiftPM . triple {
239
239
destinationSDK = hostSDK
240
240
destinationSDK. targetTriple = try Triple ( triple)
241
241
}
Original file line number Diff line number Diff line change @@ -24,7 +24,11 @@ import XCTest
24
24
25
25
extension SourceKitLSPOptions {
26
26
public static func testDefault( experimentalFeatures: Set < ExperimentalFeature > ? = nil ) -> SourceKitLSPOptions {
27
- return SourceKitLSPOptions ( experimentalFeatures: experimentalFeatures, swiftPublishDiagnosticsDebounceDuration: 0 )
27
+ return SourceKitLSPOptions (
28
+ experimentalFeatures: experimentalFeatures,
29
+ swiftPublishDiagnosticsDebounceDuration: 0 ,
30
+ workDoneProgressDebounceDuration: 0
31
+ )
28
32
}
29
33
}
30
34
You can’t perform that action at this time.
0 commit comments