Open jszwedko opened 3 years ago
It uses release profile only. There's a flag to skip building completely, but it will look for binaries in target/release anyway.
Maybe you can change opt-level of the release profile?
Yeah, that's a reasonable work-around. Thanks for suggesting @kornelski
Is it possible to change the profile that
cargo deb
uses fromrelease
? We build packages in CI as part of some correctness tests and would like to improve their build times by just using the debug build profile.I attempted to
export PROFILE=debug
, butcargo deb
still seems to build usingrelease
.