Skip to content

linker/compiler errors are silently consumed and don't appear in stdout or stderr #7114

Closed
@compnerd

Description

@compnerd

Description

Some recent work that @neonichu (or @tomerd?) did to silence some output seems to have resulted in linker errors being silently dropped making it difficult to identify build failures.

Expected behavior

Linker errors should be presented to the user.

Actual behavior

No response

Steps to reproduce

swift build a project that has undefined references.

Swift Package Manager version/commit hash

No response

Swift & OS version (output of swift --version ; uname -a)

Windows 11

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions