Closed dtolnay closed 7 years ago
As of 3823f08566fb9467d7466bdcdd0e4b93488cb26c you can use install-update-config
:
cargo install-update-config mdbook --debug
Which will set mdbook
to compile in debug mode. Reflexively, use --release
to disable.
Released in v1.2.0
.
The
cargo install
command has a--debug
flag, as incargo install mdbook --debug
. So something like:This is useful for tools that compile slowly in release mode but run fast enough even in debug mode.