From d2ec879290555bb8bf8c51b0dc520e642ab7e1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 27 May 2018 23:56:28 +0100 Subject: [PATCH] Add rls via rustup --- common/configure_fresh_system.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/configure_fresh_system.sh b/common/configure_fresh_system.sh index fd878198..024f6e89 100755 --- a/common/configure_fresh_system.sh +++ b/common/configure_fresh_system.sh @@ -100,6 +100,13 @@ if [[ -z $NORUST ]]; then rustup install stable rustup install nightly rustup default stable + rustup component add rls-preview --toolchain stable + rustup component add rust-analysis --toolchain stable + rustup component add rust-src --toolchain stable + rustup component add rls-preview --toolchain nightly + rustup component add rust-analysis --toolchain nightly + rustup component add rust-src --toolchain nightly + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib cd "$DIR/../" echo "getting rust sources..."