Cargo
cargo new hello: creates a new project calledhello, containing a config file calledCargo.tomland a src directory with amain.rssource filecargo run hello: builds and runs thehelloproject (with debug symbols)cargo run hello --release: builds and runs the hello project (without debug symbols)
Last updated
Was this helpful?