Add rls via rustup
This commit is contained in:
parent
11db22b545
commit
d2ec879290
1 changed files with 7 additions and 0 deletions
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue