Skip to content

Error building on Windows with git-bash #296

@dschaefer2

Description

@dschaefer2

Using the Windows Terminal with git-bash as my shell, I get the following error when running swift build against the library package template, though that doesn't seem related.

$ ../swiftpm/.build/debug/swift-build --build-system swiftbuild --build-tests

 0% [------------------------------------------------------------------------------------------------------]
error: unknown Can't determine path to cmd.exe because the ComSpec environment variable is not set []

Interesting enough COMSPEC is defined (all upper case).

Metadata

Metadata

Assignees

Labels

windowsSupport for the Windows platform

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions