1
0
Fork 0
This commit is contained in:
Pratham Patel 2023-02-03 18:52:08 +05:30
parent 0ac6936101
commit f7d08e99c2
2 changed files with 6 additions and 9 deletions

View File

@ -32,15 +32,6 @@ nvim +'PlugInstall' +'q' +'q'
nvim +'checkhealth telescope' +'q' +'q'
################################################################################
# Rust
################################################################################
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs -o rust.sh
bash rust.sh
rm rust.sh
################################################################################
# PARU
################################################################################

View File

@ -126,6 +126,12 @@ function git_repo_check()
doas pacman --sync --refresh --refresh --sysupgrade
# rust-lang
if ! command -v rustup > /dev/null; then
pushd /tmp
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs -o rust.sh
bash rust.sh
popd
fi
rustup default stable
rustup update stable
rustup component add rust-src rust-analyzer rust-analysis