$ cargo deb --profile production --strip -p subwasm -o "subwasm_linux_amd64.deb"
Finished production [optimized] target(s) in 0.65s
cargo-deb: Asset file path does not match any files: /Users/Shared/projects/subwasm/cli/target/release/subwasm
Despite providing --profile production, cargo deb searches for the binary in target/release so it cannot work.
$ ll target/production/subwasm
inode Permissions Links Size Blocks User Group Date Modified Git Name
244862072 .rwxr-xr-x@ 1 13Mi 26960 will wheel 15 May 12:37 -I target/production/subwasm
Despite providing
--profile production
,cargo deb
searches for the binary intarget/release
so it cannot work.