dotfiles/zsh/.oh-my-zsh/custom/rust.zsh

5 lines
211 B
Bash

# Export rust-src path for Linux
export RUST_SRC_PATH=~/.multirust/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src
# Add cargo binary directory to $PATH
export PATH="$PATH:$HOME/.cargo/bin"