comparison .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
comparison
equal deleted inserted replaced
417:57876a8a8165 418:c19013b9b1d9
1 insert_path_element $HOME/.cargo/bin 1 insert_path_element $HOME/.cargo/bin
2 export RUST_SRC_PATH=$HOME/Programming/big/rust/src 2 export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"