Skip to content

Adding --verbose to swift build triggers a full rebuild instead of incremental #8690

@kubamracek

Description

@kubamracek

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

Run swift build. Run it again -- nothing is rebuilt. Run with --verbose and observe that you get a full rebuild. This is particularly annoying when working with macros / SwiftSyntax / Embedded Swift via Swift MMIO.

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions