712: Improve build instructions in README, test on Rust 1.36 r=MarkMcCaskey a=MarkMcCaskey

Copied from syn (which is copied from num) (https://github.com/dtolnay/syn/issues/372)

[rendered](8fa4ef34c1/README.md (building))

Co-authored-by: Mark McCaskey <mark@wasmer.io>
This commit is contained in:
bors[bot] 2019-08-22 18:57:20 +00:00 committed by GitHub
commit e2bbd4564e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -57,7 +57,7 @@ jobs:
test-stable: test-stable:
docker: docker:
- image: circleci/rust:latest - image: circleci/rust:1.36
<<: *run_with_build_env_vars <<: *run_with_build_env_vars
steps: steps:
- checkout - checkout

View File

@ -169,14 +169,19 @@ nginx and Lua do not work on Windows - you can track the progress on [this issue
</details> </details>
## Building ## Building
[![Rustc Version 1.36+](https://img.shields.io/badge/rustc-1.36+-red.svg)](https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html)
Wasmer is built with [Cargo](https://crates.io/), the Rust package manager. Wasmer is built with [Cargo](https://crates.io/), the Rust package manager.
The Singlepass backend requires nightly, so if you want to use it,
Set Rust Nightly: Set Rust Nightly:
``` ```
rustup default nightly rustup default nightly
``` ```
Otherwise an up to date (see badge above) verison of stable Rust will work.
And install Wasmer And install Wasmer
```sh ```sh
# checkout code # checkout code