Skip to content

Proposal: dump stderr when loading packages from build.zig fails. #566

@truemedian

Description

@truemedian

Ever since zls has had a way to load packages from a build.zig, there have always been weird, silent bugs that have prevented some (or all in some cases) users from having any package completions. Most of the silence is due to the fact that when zls exec's zig to run the build runner, it only returns an error indicating failure.

It would be helpful if zls also kept track of stderr and would log it before erroring out to the caller.

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