From a4b0e0c93ce518c9bf631af083744b277df0037e Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Tue, 9 May 2017 16:34:24 +0800 Subject: [PATCH] fix the doc of installing rust multirust is deprecated. --- ethcore/src/lib.rs | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ethcore/src/lib.rs b/ethcore/src/lib.rs index 980bdd25c..7dc49fff8 100644 --- a/ethcore/src/lib.rs +++ b/ethcore/src/lib.rs @@ -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 //! ```