-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Version
> cargo equip -V
cargo-equip 0.19.0
Small Example
https://github.com/SaiYS/dbg-cargo-equip
applying cargo-equip on src/bin/main.rs causes error.
error: could not bundle the code
dbg-cargo-equip 0.1.0 (path+file:///Users/roku/room/cloned/dbg-cargo-equip)ascrate::__cargo_equip::crates::dbg_cargo_equip
Caused by:
could not expanddbg_cargo_equipfromdbg-cargo-equip 0.1.0 (path+file:///Users/roku/room/cloned/dbg-cargo-equip)
Caused by:
one of ["/Users/roku/room/cloned/dbg-cargo-equip/src/bar.rs", "/Users/roku/room/cloned/dbg-cargo-equip/src/bar/mod.rs"] does not exist
Considerations
It seems to trying to expand not crate::foo::bar but crate::bar. Maybe replacing with_file_name() with join() will works well.
Line 377 in 9b697c1
| .with_file_name(&ident.to_string()) |
Line 381 in 9b697c1
| .with_file_name(&ident.to_string()) |
Metadata
Metadata
Assignees
Labels
No labels