Compile a chosen binary only.
Section: Profiles and target selection
Build one binary target
bash
bash
cargo build --bin admin-toolExplanation
Targets can be selected individually in multi-target packages.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Profiles and target selection
Check all package targets
Type-check binaries, tests, examples, and benches.
Run a specific binary target
Choose which binary to execute in multi-bin packages.