RFE: add --debug
to build
and --release
to install
#7720
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
With traditional build systems I am using a workflow like
to
build the software
run tests
install the built artifacts
With cargo, this is more complicated because
cargo install
executes thebuild
step and ignores the previouscargo build
. Butbuild
andinstall
expect different options; e..g. you have to do eitheror
This require to carry around two different options expressing the same.
Things would be more easy when both
--debug
and--release
are available tobuild
+install
. Then, you can just calland use a common
CARGO_FLAGS
variable.The text was updated successfully, but these errors were encountered: