mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 03:06:40 +00:00
feat(rust): improve overall setup around Rust
This commit is contained in:
6
zshenv
6
zshenv
@@ -184,9 +184,15 @@ path_prepend "/opt/tmux/bin"
|
||||
path_prepend "$HOME/.rbenv/shims"
|
||||
|
||||
# Rust setup
|
||||
export RUSTUP_HOME="$HOME/.rustup"
|
||||
export CARGO_HOME="$HOME/.cargo"
|
||||
path_prepend "$CARGO_HOME/bin"
|
||||
|
||||
export RUST_BACKTRACE=1
|
||||
if command-exists sccache; then
|
||||
export RUSTC_WRAPPER=sccache
|
||||
fi
|
||||
|
||||
# RTX shim setup
|
||||
path_prepend "$HOME/.rtx/shims"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user