curl https://sh.rustup.rs -sSf | sh
使用brew各類出錯,還慢。curl
rustc --version
cargo --version
名爲hello.rsurl
fn main() { println!("Hello World!"); }
rustc hello.rs
./hello