Merge pull request #5586 from guanqun/doc-fix
fix the doc of installing rust
This commit is contained in:
commit
b1f6112c5c
@ -49,33 +49,25 @@
|
|||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//!
|
//!
|
||||||
//! # install multirust
|
//! # install rustup
|
||||||
//! curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes
|
//! curl https://sh.rustup.rs -sSf | sh
|
||||||
//!
|
|
||||||
//! # export rust LIBRARY_PATH
|
|
||||||
//! export LIBRARY_PATH=/usr/local/lib
|
|
||||||
//!
|
//!
|
||||||
//! # download and build parity
|
//! # download and build parity
|
||||||
//! git clone https://github.com/paritytech/parity
|
//! git clone https://github.com/paritytech/parity
|
||||||
//! cd parity
|
//! cd parity
|
||||||
//! multirust override beta
|
|
||||||
//! cargo build --release
|
//! cargo build --release
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! - OSX:
|
//! - OSX:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! # install rocksdb && multirust
|
//! # install rocksdb && rustup
|
||||||
//! brew update
|
//! brew update
|
||||||
//! brew install multirust
|
//! curl https://sh.rustup.rs -sSf | sh
|
||||||
//!
|
|
||||||
//! # export rust LIBRARY_PATH
|
|
||||||
//! export LIBRARY_PATH=/usr/local/lib
|
|
||||||
//!
|
//!
|
||||||
//! # download and build parity
|
//! # download and build parity
|
||||||
//! git clone https://github.com/paritytech/parity
|
//! git clone https://github.com/paritytech/parity
|
||||||
//! cd parity
|
//! cd parity
|
||||||
//! multirust override beta
|
|
||||||
//! cargo build --release
|
//! cargo build --release
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user