Open ideasman42 opened 8 years ago
I've yet to see a project where toml's are nested, do you have an example? I usually just work with different versioned crates. Also, I could imagine that if your build pipeline is that complex, you might need a Makefile.
For an example see: https://gitlab.com/ideasman42/raster-retrace/tree/master this is something supported by Cargo for quite some time.
Looks good to me! Just needs the conflicts resolved.
This searches up the parent directories for the 'outer' most Cargo.toml, useful for building the entire project from a nested crate.
Note that I had problems using this plugin as-is.
The paths as reported in the quickfix window were relative to the
Cargo.toml
, not thepwd
.While the build worked, cycling through the errors didn't open the proper files.
This PR passes the
Cargo.toml
location to cargo, and adds support for building the parent-most Cargo.toml, which I needed when using creates in subdirectories of other crates.