Команды сборки (build, run, clean)
dcr build
Собирает проект по dcr.toml.
dcr build # debug profile
dcr build --release # release build
dcr build --debug # explicit debug
dcr build --target aarch64-unknown-linux-gnu
dcr build --force # full rebuild (also re-runs build.steps / post_steps)
dcr build --clean # clean + build
dcr build --verbose # show compilation commands
dcr build --workspace pkg-a # build specific workspace package Артефакты: target/\<triple>/\<profile>/\<binary-name> (Linux с явным целевым объектом).
With [archive] in dcr.toml, a FAT disk image is packed after a successful build.
dcr run
Собирает (если исходники новее артефакта) и запускает бинарник.
dcr run
dcr run --release
dcr run --force # force rebuild then run On a workspace-only root: if [run].cmd is set, that command is used after build; otherwise DCR delegates to a workspace member.
dcr clean
Удаляет директорию target/(или target/\<target>/\<profile>).
dcr clean
dcr clean --release # очистить target/release/
dcr clean --target windows # очистить target/x86_64-pc-windows-msvc/
dcr clean --all # очистить все пакеты workspace