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

Cargo process fails when cargo metadata spits warnings to std-error #130

Open
rinconjc opened this issue Jan 8, 2022 · 0 comments
Open

Comments

@rinconjc
Copy link

rinconjc commented Jan 8, 2022

I have a Rust workspace with 2 children members. When I try to invoke cargo actions from any of the members, it doesn't do anything.
The reasons seems that cargo metada is spitting some warning to the std-error along with the actual json metadata. However, cargo-process--workspace-root concatenates both outputs and tries to json-parse, and hence failing to do so.
The root cause seems that shell-command-to-string combines the std-out/std-error in the response.

rinconjc added a commit to rinconjc/cargo.el that referenced this issue Jan 8, 2022
rinconjc added a commit to rinconjc/cargo.el that referenced this issue Apr 10, 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

No branches or pull requests

1 participant