From bd4a5210725b4c7d4d656270a35b9b7e7a1079b4 Mon Sep 17 00:00:00 2001 From: iceiix <43691553+iceiix@users.noreply.github.com> Date: Thu, 6 Dec 2018 18:16:57 -0800 Subject: [PATCH] Update to Rust stable 1.31.0. Closes https://github.com/iceiix/steven/issues/47 (#60) --- .travis.yml | 1 + README.md | 16 +--------------- appveyor.yml | 2 +- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index dc511e0..3e32645 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ dist: trusty rust: - nightly - beta + - stable matrix: allow_failures: - rust: nightly diff --git a/README.md b/README.md index 4d8d0b3..51f1257 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The Visual Studio 2017 Redistributable is required to run these builds. ## Building -Currently requires Rust version 1.31.0-beta or newer to build. +Requires Rust stable version 1.31.0 or newer to build. Compile and run: ```bash @@ -37,20 +37,6 @@ Just compile: cargo build --release ``` -### Prerequisites - -An easy way to manage multiple Rust toolchains is [`rustup`](https://github.com/rust-lang-nursery/rustup.rs). Installation instructions for `rustup` can be found on its [website](https://www.rustup.rs/). - -Once you've set up `rustup`, grab Rust beta by running -```sh -rustup install beta -``` - -Now we need to make sure that `steven` is compiled with beta. To do this without making beta the default across the entire system, run the following command in the `steven` directory: -```sh -rustup override set beta -``` - ## Running ### Standalone diff --git a/appveyor.yml b/appveyor.yml index aad36ad..b1f2d55 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,7 +21,7 @@ build_script: appveyor AddMessage "Platform rust: %RUST_INSTALL%" - appveyor DownloadFile "https://static.rust-lang.org/dist/rust-nightly-%RUST_INSTALL%.exe" -FileName rust-install.exe + appveyor DownloadFile "https://static.rust-lang.org/dist/rust-1.31.0-%RUST_INSTALL%.exe" -FileName rust-install.exe "./rust-install.exe" /VERYSILENT /NORESTART /DIR="C:\Rust\"