Type-check binaries, tests, examples, and benches.
Section: Profiles and target selection
Check all package targets
bash
bash
cargo check --all-targetsExplanation
Broad validation helps catch code paths not built by default.
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