Skip to content

Commit 41add6d

Browse files
authored
[Debugging] Disable use of DebugDescriptionMacro when bootstrapping is off (#71820)
1 parent f9ec3b1 commit 41add6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ if(SWIFT_STDLIB_ENABLE_VECTOR_TYPES)
261261
endif()
262262

263263
# Freestanding and Linux builds both have failures to resolve.
264-
if(NOT SWIFT_FREESTANDING_FLAVOR AND NOT SWIFT_HOST_VARIANT_SDK STREQUAL "LINUX")
264+
if(NOT BOOTSTRAPPING_MODE STREQUAL "OFF" AND NOT SWIFT_FREESTANDING_FLAVOR AND NOT SWIFT_HOST_VARIANT_SDK STREQUAL "LINUX")
265265
list(APPEND SWIFTLIB_SOURCES ObjectIdentifier+DebugDescription.swift)
266266
endif()
267267

0 commit comments

Comments
 (0)