Skip to content

Changes in Toolset.json do not always update build flags #8641

Open
@rauhul

Description

@rauhul

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

I made a change to my flags in a toolset.json and even tried renaming the toolset file and couldn't get SwiftPM to re-read the file and update the flags passed to clang/swiftc/etc...

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)

4/12 macOS nightly-main

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions