Skip to content

Instantly share code, notes, and snippets.

@bobchao
Created April 15, 2016 05:35
Show Gist options
  • Save bobchao/416d64a4ea1519dac4d3f57406f00e02 to your computer and use it in GitHub Desktop.
Save bobchao/416d64a4ea1519dac4d3f57406f00e02 to your computer and use it in GitHub Desktop.
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh
multirust update
cargo install racer
cd /usr/local/src
git clone https://github.com/rust-lang/rust.git
nano ~/.bash_profile
加入
export PATH="$HOME/.multirust/toolchains/stable/cargo/bin:$PATH"
export RUST_SRC_PATH=/usr/local/src/rust/src
Install Atom https://atom.io/download/mac
Install Tokamak package in Atom
Setting - Path to Racer:~/.multirust/toolchains/stable/cargo/bin/racer
其他都是 default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment