diff --git a/pages/common/cargo.md b/pages/common/cargo.md index ab930891bc..c2c9ebaa2c 100644 --- a/pages/common/cargo.md +++ b/pages/common/cargo.md @@ -28,10 +28,10 @@ `cargo {{[b|build]}} {{[-r|--release]}}` +- Run the built binary (will build it if it's not already built): + +`cargo {{[r|run]}}` + - Build the Rust project in the current directory using the nightly compiler (requires `rustup`): `cargo +nightly {{[b|build]}}` - -- Build using a specific number of threads (default is the number of logical CPUs): - -`cargo {{[b|build]}} {{[-j|--jobs]}} {{number_of_threads}}`