浏览代码

try using rustup-init for rust install

Stephen 3 年之前
父节点
当前提交
e334cde639
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      Makefile

+ 2 - 4
Makefile

@@ -8,7 +8,5 @@ install_cargo_make:
 	brew bundle
 
 install_rust:
-	sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
-	curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
-	echo 'export PATH="$$HOME/.cargo/bin:$$PATH"' >> ~/.bash_profile
-	source ~/.bash_profile
+	brew bundle
+	rustup-init -y