File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1515 if which realpath; then # No realpath on macOS, but also not needed there
1616 export HOME=" $( realpath " $HOME " ) " # Needed to de-confuse nvm when /home is a symlink
1717 fi
18+
19+ echo " Setting up Rust"
20+ curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh /dev/stdin -y
21+
1822 # Some Node.js driver versions leave a ~/.npmrc file lying around
1923 # that breaks nvm because it contains a 'prefix=' option (pointing
2024 # to a directory that no longer exists anyway).
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ if [ "$OS" != "Windows_NT" ]; then
2929 if which realpath; then # No realpath on macOS, but also not needed there
3030 export HOME=" $( realpath " $HOME " ) " # Needed to de-confuse nvm when /home is a symlink
3131 fi
32+ source $HOME /.cargo/env
33+
3234 export NVM_DIR=" $BASEDIR /.nvm"
3335 echo " Setting NVM environment home: $NVM_DIR "
3436 [ -s " $NVM_DIR /nvm.sh" ] && \. " $NVM_DIR /nvm.sh"
You can’t perform that action at this time.
0 commit comments