rust plugin doesn't check if the Cargo.toml file exists
Bug #1654768 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Low
|
Unassigned |
Bug Description
Our rust plugin uses cargo to build the snap. Before checking if the Cargo.toml file, it downloads rust, and then it fails with:
error: could not find `Cargo.toml` in `/home/
Before downloading anything, the plugin should make sure that the cargo file exists, to fail early if it doesn't.
To post a comment you must log in.
I think the real issue here is the bug I filed - the build/ directory is
empty.
Mark