diff --git a/README.md b/README.md index 0fafbac6ed4..3c8e16e3a84 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,32 @@ Visit the [Servo Project page](https://servo.org/) for news and guides. ## Setting up your environment +### Rustup.rs + +Building servo requires [rustup](https://rustup.rs/), version 1.8.0 or more recent. +If you have an older version, run `rustup self update`. + +To install on Windows, download and run [`rustup-init.exe`](https://win.rustup.rs/) +then follow the onscreen instructions. + +To install on other systems, run: + +```sh +curl https://sh.rustup.rs -sSf | sh +``` + +This will also download the current stable version of Rust, which Servo won’t use. +To skip that step, run instead: + +``` +curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none +``` + +See also [Other installation methods]( +https://github.com/rust-lang-nursery/rustup.rs/#other-installation-methods) + +### Other dependencies + Please select your operating system: * [OS X](#os-x) * [Debian-based Linuxes](#on-debian-based-linuxes) @@ -152,11 +178,9 @@ Pre-installed Android tools are needed. See wiki for ## The Rust compiler -Servo's build system automatically downloads a Rust compiler to build itself. -This is normally a specific revision of Rust upstream, but sometimes has a -backported patch or two. -If you'd like to know which nightly build of Rust we use, see -[`rust-toolchain`](https://github.com/servo/servo/blob/master/rust-toolchain). +Servo's build system uses rustup.rs to automatically download a Rust compiler. +This is a specific version of Rust Nightly determined by the +[`rust-toolchain`](https://github.com/servo/servo/blob/master/rust-toolchain) file. ## Building