Add rls via rustup

This commit is contained in:
Cyryl Płotnicki 2018-05-27 23:56:28 +01:00
parent 11db22b545
commit d2ec879290

View file

@ -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..."