Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide build_runner command on failure #569

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

leecannon
Copy link
Member

@leecannon leecannon commented Aug 2, 2022

A few times i've had to read the code in loadPackages to figure out the correct command to execute the build_runner to debug an issue.
Closes #566

@truemedian
Copy link
Contributor

It would also be helpful if zls also logged stderr when the command fails like #566

@leecannon leecannon force-pushed the master branch 2 times, most recently from 8b955c8 to 29c4f2f Compare August 3, 2022 16:34
@leecannon
Copy link
Member Author

leecannon commented Aug 3, 2022

@truemedian: i've added stderr output

@truemedian
Copy link
Contributor

ah sorry if I wasn't clear, I meant logging zig_run_result's stderr

@leecannon
Copy link
Member Author

fixed, that does make more sense :)

@SuperAuguste
Copy link
Member

LGTM, thanks again Lee!

@SuperAuguste SuperAuguste merged commit d83e37d into zigtools:master Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: dump stderr when loading packages from build.zig fails.
3 participants