Technical blog
"We must view with profound respect the infinite capacity of the human mind to resist the introduction of useful knowledge." - Thomas R. Lounsbury
| github | goodreads | linkedin | twitter |
ansible 2 / elasticsearch 2 / kernel 2 / leadership 1 / linux 2 / mnemonics 1 / nginx 1 / paper 40 / personal 5 / rust 1 / tools 2 /WC 238 / RT 2min
TweetGuide to setup Rust Racer [code completion utility] with multiple/nightly Rust versions. This will let you navigate & jump to definition between Rust versions.
rsvm install 0.12.0
rsvm use 0.12.0
ls -la $HOME/.rsvm/current
total 56K
drwxrwxr-x 2 user user 4.0K Sep 14 21:31 test
drwxrwxr-x 4 user user 4.0K Sep 15 14:33 1.2.0
drwxrwxr-x 5 user user 4.0K Sep 15 14:48 .
drwxrwxr-x 8 user user 4.0K Sep 21 22:15 .git
drwx------ 24 user user 4.0K Sep 21 22:17 ..
-rw-rw-r-- 1 user user 1.1K Sep 14 21:31 LICENSE
-rw-rw-r-- 1 user user 324 Sep 14 21:31 CHANGELOG.md
-rw-rw-r-- 1 user user 249 Sep 14 21:31 .travis.yml
-rw-rw-r-- 1 user user 9.1K Sep 14 21:31 rsvm.sh
-rw-rw-r-- 1 user user 2.1K Sep 14 21:31 rsvm.fish
-rw-rw-r-- 1 user user 1.3K Sep 14 21:31 install.sh
-rw-rw-r-- 1 user user 1.8K Sep 14 21:31 README.md
lrwxrwxrwx 1 user user 20 Sep 15 14:48 current -> /home/user/.rsvm/1.2.0
export RUST_SRC_PATH="$HOME/.rsvm/current"
git clone https://github.com/phildawes/racer.git “$HOME/rust-racer”
cd $HOME/rust-racer; cargo build –release.
let g:racer_cmd = “$HOME/rust-racer/target/release/racer”
Enjoy multi Rust environment with code completion & goto-definition