annotate .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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
397
98484e1f564f rust: lots of new configs to make working with rust code easy
Augie Fackler <raf@durin42.com>
parents:
diff changeset
1 insert_path_element $HOME/.cargo/bin
418
c19013b9b1d9 rust: automatically discover the rust sources installed by rustup
Augie Fackler <raf@durin42.com>
parents: 397
diff changeset
2 export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"