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 1919 if which realpath; then # No realpath on macOS, but also not needed there
2020 export HOME=" $( realpath " $HOME " ) " # Needed to de-confuse nvm when /home is a symlink
2121 fi
22+
23+ echo " Setting up Rust"
24+ curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh /dev/stdin -y
25+
2226 # Some Node.js driver versions leave a ~/.npmrc file lying around
2327 # that breaks nvm because it contains a 'prefix=' option (pointing
2428 # to a directory that no longer exists anyway).
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ if [ "$OS" != "Windows_NT" ]; then
99 if which realpath; then # No realpath on macOS, but also not needed there
1010 export HOME=" $( realpath " $HOME " ) " # Needed to de-confuse nvm when /home is a symlink
1111 fi
12+ source $HOME /.cargo/env
13+
1214 export NVM_DIR=" $BASEDIR /.nvm"
1315 echo " Setting NVM environment home: $NVM_DIR "
1416 [ -s " $NVM_DIR /nvm.sh" ] && \. " $NVM_DIR /nvm.sh"
You can’t perform that action at this time.
0 commit comments