Skip to content

Investigate why Linux/Android can't use DebugDescriptionMacro #77705

Open
@etcwilde

Description

@etcwilde

Description

The DebugDescription macro bits of swiftCore is hard-coded to be removed when building for Linux and Android with the comment:

# Freestanding and Linux/Android builds both have failures to resolve.

We should understand why and get it enabled everywhere.

# Freestanding and Linux/Android builds both have failures to resolve.
if(NOT BOOTSTRAPPING_MODE STREQUAL "OFF" AND NOT SWIFT_FREESTANDING_FLAVOR AND NOT SWIFT_HOST_VARIANT_SDK STREQUAL "LINUX" AND NOT SWIFT_HOST_VARIANT_SDK STREQUAL "ANDROID")
list(APPEND SWIFTLIB_SOURCES ObjectIdentifier+DebugDescription.swift)
endif()

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinuxPlatform: Linuxswift macroFeature → declarations: Swift `macro` declarationstask

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions