Jelajahi Sumber

try using rustup-init for rust install

Stephen 3 tahun lalu
induk
melakukan
e334cde639
1 mengubah file dengan 2 tambahan dan 4 penghapusan
  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