view .shell.d/99.rust.sh @ 418:c19013b9b1d9

rust: automatically discover the rust sources installed by rustup
author Augie Fackler <raf@durin42.com>
date Sat, 08 Oct 2016 10:47:58 -0400
parents 98484e1f564f
children 94a92c65299a
line wrap: on
line source

insert_path_element $HOME/.cargo/bin
export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"