Skip to content

Commit d202bc9

Browse files
committed
Disable ObjectIdentifier+DebugDescription.swift on Linux
1 parent d43531b commit d202bc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ if(SWIFT_STDLIB_ENABLE_VECTOR_TYPES)
260260
list(APPEND SWIFTLIB_EMBEDDED_GYB_SOURCES SIMDConcreteOperations.swift.gyb SIMDVectorTypes.swift.gyb)
261261
endif()
262262

263-
if(NOT SWIFT_FREESTANDING_FLAVOR)
263+
# Freestanding and Linux builds both have failures to resolve.
264+
if(NOT SWIFT_FREESTANDING_FLAVOR AND NOT SWIFT_HOST_VARIANT_SDK STREQUAL "LINUX")
264265
list(APPEND SWIFTLIB_SOURCES ObjectIdentifier+DebugDescription.swift)
265266
endif()
266267

0 commit comments

Comments
 (0)