divvun/gut

cargo install gives "no targets specified in the manifest"

Trondtr opened this issue · 1 comments

After following the installation commands in README, I get:

cargo install --path .
error: failed to parse manifest at /Users/ttr000/git/divvun/Cargo.toml

Caused by:
no targets specified in the manifest
either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present

This is a known error:
https://stackoverflow.com/questions/37491436/failed-to-parse-manifest-no-targets-specified

but the solutions seem to be irrelevant to the present setup (as far as I can see, all suggested fixes are already in place in the gut folder).

Issue solved, I was mislead by googleing myself into a company of others with seemingly the same problem. For me, the problem was that I for some reason had a double set of Cargo files in the mother catalogue, as actually indicated by the error message (my catalogue is git/divvun/gut. After removing those, it works.