about summary refs log tree commit diff stats
path: root/profile/rust.sh
diff options
context:
space:
mode:
authorCase Duckworth2023-01-30 17:33:06 -0600
committerCase Duckworth2023-01-30 17:33:06 -0600
commit1d562af8927d932bc3329de3b06c94a966047238 (patch)
treeacb2c460fbb8d01473f38f4de426c4879c7ae11a /profile/rust.sh
parentDeclare mode (diff)
downloadetc-1d562af8927d932bc3329de3b06c94a966047238.tar.gz
etc-1d562af8927d932bc3329de3b06c94a966047238.zip
Add a bunch of stuff
Forgot I had to `git add -f' these!
Diffstat (limited to 'profile/rust.sh')
-rw-r--r--profile/rust.sh3
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 @@
1export RUSTUP_HOME="${XDG_DATA_HOME:=$LOCAL_PREFIX/share}/rustup"
2export CARGO_HOME="${XDG_DATA_HOME:=$LOCAL_PREFIX/share}/cargo"
3. "$CARGO_HOME/env" # takes care of $PATH for us