According to:
In the Cargo.toml
:
1[[bin]]2name = "garden"3path = "src/main.rs"
How to get the bin file
When you try cargo run
or cargo build
, it automatically build a bin file called like target/release/rust
.
-->
According to:
In the Cargo.toml
:
1[[bin]]2name = "garden"3path = "src/main.rs"
When you try cargo run
or cargo build
, it automatically build a bin file called like target/release/rust
.