Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Windows apps packaging their Swift runtime can make the toolchain unusable #339

Copy link
Copy link
Open
@tristanlabelle

Description

@tristanlabelle
Issue body actions

We recently modified the installer for Nick Lockwood's SwiftFormat project to include the Swift runtime dlls, since the one installed on the machine might not be ABI-compatible. The installer will add its target folder to the system %Path%, which will then win when resolving swiftCore.dll and other Swift runtime dlls, breaking the toolchain programs like swift.exe.

Repro steps:

  • Install a Swift toolchain different from SwiftFormat's (not 5.10.1)
  • In a new command prompt, run swift.exe --version. It should work as expected.
  • Install SwiftFormat from this release
  • In a new command prompt, run swift.exe --version. It will now crash because it's picking up the Swift runtime binaries from the SwiftFormat installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.