File tree 2 files changed +6
-0
lines changed 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 19
19
if which realpath; then # No realpath on macOS, but also not needed there
20
20
export HOME=" $( realpath " $HOME " ) " # Needed to de-confuse nvm when /home is a symlink
21
21
fi
22
+
23
+ echo " Setting up Rust"
24
+ curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh /dev/stdin -y
25
+
22
26
# Some Node.js driver versions leave a ~/.npmrc file lying around
23
27
# that breaks nvm because it contains a 'prefix=' option (pointing
24
28
# 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
9
9
if which realpath; then # No realpath on macOS, but also not needed there
10
10
export HOME=" $( realpath " $HOME " ) " # Needed to de-confuse nvm when /home is a symlink
11
11
fi
12
+ source $HOME /.cargo/env
13
+
12
14
export NVM_DIR=" $BASEDIR /.nvm"
13
15
echo " Setting NVM environment home: $NVM_DIR "
14
16
[ -s " $NVM_DIR /nvm.sh" ] && \. " $NVM_DIR /nvm.sh"
You can’t perform that action at this time.
0 commit comments