diff options
Diffstat (limited to 'profile/rust.sh')
-rw-r--r-- | profile/rust.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/profile/rust.sh b/profile/rust.sh new file mode 100644 index 0000000..dd85a65 --- /dev/null +++ b/profile/rust.sh | |||
@@ -0,0 +1,3 @@ | |||
1 | export RUSTUP_HOME="${XDG_DATA_HOME:=$LOCAL_PREFIX/share}/rustup" | ||
2 | export CARGO_HOME="${XDG_DATA_HOME:=$LOCAL_PREFIX/share}/cargo" | ||
3 | . "$CARGO_HOME/env" # takes care of $PATH for us | ||