File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Sources/SwiftDriver/SwiftScan Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -281,13 +281,18 @@ internal extension swiftscan_diagnostic_severity_t {
281
281
}
282
282
283
283
@_spi ( Testing) public var supportsCaching : Bool {
284
+ #if os(Windows)
285
+ // Caching is currently not supported on Windows hosts.
286
+ return false
287
+ #else
284
288
return api. swiftscan_cas_create != nil &&
285
289
api. swiftscan_cas_dispose != nil &&
286
290
api. swiftscan_compute_cache_key != nil &&
287
291
api. swiftscan_cas_store != nil &&
288
292
api. swiftscan_swift_textual_detail_get_module_cache_key != nil &&
289
293
api. swiftscan_swift_binary_detail_get_module_cache_key != nil &&
290
294
api. swiftscan_clang_detail_get_module_cache_key != nil
295
+ #endif
291
296
}
292
297
293
298
@_spi ( Testing) public var supportsBridgingHeaderPCHCommand : Bool {
You can’t perform that action at this time.
0 commit comments