Rust · Command
cargo run
cargo run builds and runs a binary or example in the local package. Arguments after -- go to the program; arguments before it go to Cargo.
Last updated
Syntax
cargo run [ options ] [ -- args ]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
cargo-buildcargo-testcargo-benchcargo-pkgid