zsh/env/50_rust.zsh
crater2150 714c14fc06 Update
2020-02-13 14:39:41 +01:00

4 lines
171 B
Bash

if which rustup &>/dev/null && [[ -n $(rustup show active-toolchain) ]]; then
export RUST_SRC_PATH=$(rustup run stable rustc --print sysroot)/lib/rustlib/src/rust/src
fi