Getting a list of file with an error from cargo-build?
The Rust Programming Language Forum
Getting a list of file with an error from cargo-build?
Hey all, I usually use vim as my code editor. Is there a way to easily make cargo build output a list of files that have errors so that I can just feed it into another CLI program? I am not seeing anything obvious in cargo build --help. As an example, in the same way with grep I can do grep 'fn run' -rl * | vim, I would like to be able to do cargo build --error-file-list | vim to open all of the files that have errors in vim so I can work through them sequentially. In the past, I have played ...
0 comments
No comments yet.