Skip to content

fix(library): a failed library compile with empty stderr reports no exit status #1569

Closed

Description

@zackees

Found while verifying #1559.

When a library TU's compiler exits non-zero with no stderr, for example when it is killed by a signal, the error is just failed to compile <src> in library <name>: followed by nothing. No exit code or signal is shown, so the failure cannot be diagnosed. I hit this once on FastLED's fl.gfx+.cpp; it did not reproduce on two retries.

Fix: include the exit status, and name the signal when there is one, in the BuildFailed message for both the subprocess and embedded-backend paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions