Closed newpavlov closed 1 year ago
The --no-build
flag resolves the issue.
I used to run cargo build --all
, but that was slow and wasteful for workspaces, so now I run --bin foo
for each binary requested, but I haven't considered the special case of examples.
I want to include an example binary into generated deb packet. In my Cargo.toml I have:
But by running
cargo deb
, I get the following error:Why
cargo deb
insists on having the binary target and what can I do to resolve this issue?