rust文件都是以 rs结尾
编辑rust文件的命令是 rustc main.rs
fn main(){ println!("hello world"); }
执行rustc main.rs 生成一个main可执行文件
运行 ./main 输出 hello world