You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can build and run a project in one step using [cargo run].
We can build a project without producing a binary to check for errors using [cargo check].
Instead of saving the result of the build in the same directory as our code, Cargo stores it in the [target/debug directory].
Use [cargo build --release] to check the optimization of the code and to benchmark it. (It is good to have 2 separate folders so you can use one for rebuilding/editing, and the other one for performance testing/benchmarking)