Skip to content

Fresh install on Windows fails to compile #83066

@RuiNelson

Description

@RuiNelson

Description

I just installed Swift 6.1.2 on Windows, using the commands provided on the Swift website. I tried to compile a package (which compiles on macOS), and I get several Invalid manifest errors, and at the end I get the error:

<unknown>:0: error: unable to load standard library for target 'x86_64-unknown-windows-msvc'.

Reproduction

1. Fresh Windows 11 install
2. Execute commands on https://www.swift.org/install/windows/
3. `swift` works on the command line
4. Try to compile my Package with `swift build`

Expected behavior

Package compiled

Environment

Swift version 6.1.2 (swift-6.1.2-RELEASE)
Target: x86_64-unknown-windows-msvc

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsPlatform: WindowsbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.triage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions