mirror of
https://github.com/rust-lang/book.git
synced 2026-12-01 00:21:23 -06:00
Merge pull request #220 from spastorino/cargo_run
Explain cargo run as it is in cargo guides
This commit is contained in:
@@ -336,8 +336,8 @@ sparse. Realistically, you won't ever need to touch this file yourself; just
|
|||||||
let Cargo handle it.
|
let Cargo handle it.
|
||||||
|
|
||||||
We just built a project with `cargo build` and ran it with
|
We just built a project with `cargo build` and ran it with
|
||||||
`./target/debug/hello_cargo`, but we can actually do both in one step with
|
`./target/debug/hello_cargo`, but we can also use `cargo run` to compile
|
||||||
`cargo run` as follows:
|
and then run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cargo run
|
$ cargo run
|
||||||
|
|||||||
Reference in New Issue
Block a user