Options (3)
booleanBuild the package or packages defined by the `Cargo.toml` manifest file in the local path
Example:
cargo {{[b|build]}}-r, --releasebooleanBuild artifacts in release mode, with optimizations
Example:
cargo {{[b|build]}} {{[-r|--release]}}-p, --packagebooleanBuild a specific package
Example:
cargo {{[b|build]}} {{[-p|--package]}} {{package}}Examples (7)
Build the package or packages defined by the `Cargo.toml` manifest file in the local path
cargo [b|build]Build artifacts in release mode, with optimizations
cargo [b|build] [-r|--release]Require that `Cargo.lock` is up to date
cargo [b|build] --lockedBuild all packages in the workspace
cargo [b|build] --workspaceBuild a specific package
cargo [b|build] [-p|--package] packageBuild only the specified binary
cargo [b|build] --bin nameBuild only the specified test target
cargo [b|build] --test test_namemade by @shridhargupta | data from tldr-pages