The rust plugin fails when using source_subdir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
RoxD |
Bug Description
When trying to make a rust snap that has uses source-subdir, it fails during fetch:
/home/ubuntu/
error: manifest path `/home/
It's looking for the Cargo.toml file in source, not in source-subdir.
Steps to reproduce:
Go to integration_
Edit the snapcraft.yaml to have:
source: .
source-subdir: subdir
Run snapcraft
Changed in snapcraft: | |
status: | New → In Progress |
assignee: | nobody → RoxD (roxd) |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/snapcore/ snapcraft/ pull/1296