1. 由于网络问题, 使用官网命令会访问失败,这里使用brew安装,并且是先安装rustup-init,再通过它安装rust,这样工具链可以一并安装成功。
brew update
brew install rustup-init