Skip to content

Commit 75477a6

Browse files
authored
Model: enable concurrent rendering on Windows (#601)
Assume that concurrent rendering on Windows is the proper thing to do. It is unclear why Linux (but not Android) uses serial rendering. This enables us to make progress with the Windows port.
1 parent 720dc22 commit 75477a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftDocC/Model/Rendering/RenderContext.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ public struct RenderContext {
6161
)
6262
}
6363

64-
#if os(macOS) || os(iOS) || os(Android)
65-
// Concurrently render content on macOS/iOS & Android
64+
#if os(macOS) || os(iOS) || os(Android) || os(Windows)
65+
// Concurrently render content on macOS/iOS, Windows & Android
6666
let results: [(reference: ResolvedTopicReference, content: RenderReferenceStore.TopicContent)] = references.concurrentPerform { reference, results in
6767
results.append((reference, renderContentFor(reference)))
6868
}

0 commit comments

Comments
 (0)