Skip to content

Dump symbol graph command doesn't support the swiftbuild build system #8848

Open
@cmcgee1024

Description

@cmcgee1024

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

The dump symbol graph command directly invokes the native build system, and uses the build plan, which is only available for that build system. Instead, it should be possible to specify another build system, such as the swiftbuild build system, and use alternate means to get the symbol graph arguments for the requested targets. The build parameters can potentially provide this information.

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

Swift Package Manager version/commit hash

No response

Swift & OS version (output of swift --version ; uname -a)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugswift buildChanges impacting `swift build`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions