This commit is contained in:
crater2150 2020-02-13 14:21:42 +01:00
parent 0660baa724
commit 714c14fc06
4 changed files with 16 additions and 4 deletions

2
env/50_rust.zsh vendored
View file

@ -1,3 +1,3 @@
if which rustup &>/dev/null; then
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