rustc hello.rs //编译文件
rustc hello.rs
cargo new test002 //构建新的rust工程,自动创建test002目录
cargo new test002
cargo buil //编译工程
cargo buil
cargo run //运行
cargo run