fix the doc of installing rust

multirust is deprecated.
This commit is contained in:
Guanqun Lu 2017-05-09 16:34:24 +08:00
parent 0bd4d5bb0c
commit a4b0e0c93c

View File

@ -49,33 +49,25 @@
//!
//! ```bash
//!
//! # install multirust
//! curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes
//!
//! # export rust LIBRARY_PATH
//! export LIBRARY_PATH=/usr/local/lib
//! # install rustup
//! curl https://sh.rustup.rs -sSf | sh
//!
//! # download and build parity
//! git clone https://github.com/paritytech/parity
//! cd parity
//! multirust override beta
//! cargo build --release
//! ```
//!
//! - OSX:
//!
//! ```bash
//! # install rocksdb && multirust
//! # install rocksdb && rustup
//! brew update
//! brew install multirust
//!
//! # export rust LIBRARY_PATH
//! export LIBRARY_PATH=/usr/local/lib
//! curl https://sh.rustup.rs -sSf | sh
//!
//! # download and build parity
//! git clone https://github.com/paritytech/parity
//! cd parity
//! multirust override beta
//! cargo build --release
//! ```