neomake
neomake copied to clipboard
:Neomake doesn't work in Cargo workspaces (Rust)
Expected behavior
In normal library/binary crates Neomake works just fine, but in Cargo workspaces it does not. Nothing happens when running :Neomake.
Steps to reproduce
I have made a repo for easy reproduction: https://github.com/davidpdrsn/neomake-cargo-workspace-broken It contains both a normal crate and one using workspaces.
Output from (verbose) NeomakeInfo
:verbose NeomakeInfo: https://gist.github.com/davidpdrsn/5361fb0fa5c8c5e2f7d17d72ecf4699e
GitMate.io thinks possibly related issues are https://github.com/neomake/neomake/issues/847 (Rust/Cargo: :Neomake! cargo messes up cargo...), https://github.com/neomake/neomake/issues/1200 (Rust, cargo: :cc does not work for errors.), https://github.com/neomake/neomake/issues/782 (Cargo maker not found in rust files), https://github.com/neomake/neomake/issues/963 (Neomake not work on windows), and https://github.com/neomake/neomake/issues/862 (Neomake ruber-info doesn't always work by default).
@davidpdrsn This is quite an old issue and I am having the same problem currently. So I'm wondering, did you work something out or find a fix?
@m-lima I don't think so. I haven't used neomake in a very long time. Don't even remember filing this issue tbh. I currently use coc with rust-analyzer and run cargo build directly from the command line.