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