Skip to content

diagnose-api-breaking-changes command doesn't support swiftbuild build system #8847

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 APIDiff directly invokes the native build system, and uses the build plan, which is specific to that build system, to pass build parameters to the API digester tool. Instead, it should be possible to configure the build system to Swift Build, and then the build parameters created independently from a build plan.

The same thing applies to the APIDigester. It also needs the build plan to get API tool common arguments. This will need to be determined in a different way.

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

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