Skip to content

Commit f0392db

Browse files
add debugdescription source file when needed
1 parent c50dcae commit f0392db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Runtimes/Core/core/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ add_library(swiftCore
239239
"${CMAKE_CURRENT_BINARY_DIR}/UnsafeRawBufferPointer.swift"
240240
"${CMAKE_CURRENT_BINARY_DIR}/Tuple.swift")
241241

242+
# https://github.com/swiftlang/swift/issues/77705 - Freestanding and Linux/Android builds both have failures to resolve.
243+
if(NOT LINUX AND NOT ANDROID)
244+
target_sources(swiftCore PRIVATE ObjectIdentifier+DebugDescription.swift)
245+
endif()
246+
242247
set_target_properties(swiftCore PROPERTIES Swift_MODULE_NAME Swift)
243248

244249
if(SwiftCore_ENABLE_COMMANDLINE_SUPPORT)

0 commit comments

Comments
 (0)