Skip to content

Commit 85ed5b5

Browse files
compnerdDeniz Dizman
authored andcommitted
Runtime: disable prespecialisation on Windows
This causes crashes at runtime (see swiftlang#84780).
1 parent 778896a commit 85ed5b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Runtimes/Core/cmake/modules/DefaultSettings.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ elseif(WIN32)
7676
set(SwiftCore_ENABLE_CONCURRENCY_default NO)
7777
set(SwiftCore_ENABLE_REMOTE_MIRROR_default NO)
7878
set(SwiftCore_THREADING_PACKAGE_default "WIN32")
79-
set(SwiftCore_ENABLE_PRESPECIALIZATION_default ON)
79+
# FIXME(swiftlang/swift#84780) - generic prespecialization seems to cause
80+
# errors
81+
set(SwiftCore_ENABLE_PRESPECIALIZATION_default OFF)
8082
set(SwiftCore_CONCURRENCY_GLOBAL_EXECUTOR_default "dispatch")
8183

8284
set(SwiftCore_ENABLE_VECTOR_TYPES_default ON)

0 commit comments

Comments
 (0)