From 32dc8b0abd2667d2fb5ce5ea77247317535d2fdd Mon Sep 17 00:00:00 2001 From: Bernhard Schuster Date: Thu, 5 Mar 2020 10:41:28 +0100 Subject: [PATCH] bump minimum rust version to 1.41.1 Removes a chunk from the readme regarding a false positive rustc-wrapper entry not being used, which is closed since 1.40.0 . Cargo issue: https://github.com/rust-lang/cargo/issues/7745 --- .travis.yml | 4 ++-- README.md | 5 ++--- appveyor.yml | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index dc813ffde..b007d94e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,8 @@ matrix: - os: osx # rustc version compat - - rust: 1.36.0 # oldest supported version, keep in sync with README.md - - rust: 1.36.0 + - rust: 1.41.1 # oldest supported version, keep in sync with README.md + - rust: 1.41.1 env: DIST_SCCACHE=1 - rust: beta - rust: nightly diff --git a/README.md b/README.md index 9392eb34c..dc39a5965 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Table of Contents (ToC) Build Requirements ------------------ -Sccache is a [Rust](https://www.rust-lang.org/) program. Building it requires `cargo` (and thus `rustc`). sccache currently requires **Rust 1.36.0**. +Sccache is a [Rust](https://www.rust-lang.org/) program. Building it requires `cargo` (and thus `rustc`). sccache currently requires **Rust 1.41.1**. We recommend you install Rust via [Rustup](https://rustup.rs/). The generated binaries can be built so that they are very [portable](#building-portable-binaries). By default `sccache` supports a local disk cache. To build `sccache` with support for `S3` and/or `Redis` cache backends, add `--features=all` or select a specific feature by passing `s3`, `gcs`, and/or `redis`. Refer the [Cargo Documentation](http://doc.crates.io/manifest.html#the-features-section) for details. @@ -147,8 +147,7 @@ in `$HOME/.cargo/config` by adding: rustc-wrapper = "/path/to/sccache" ``` -Note that you need to use cargo 1.40 or newer for this to work. (In cargo 1.40 you will see a warning about this -configuration not being used. This is a false positive. The warning will go away in future releases.) +Note that you need to use cargo 1.40 or newer for this to work. Alternatively you can use the environment variable `RUSTC_WRAPPER`: diff --git a/appveyor.yml b/appveyor.yml index f260efe18..6b4a38b79 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -35,7 +35,7 @@ for: target: x86_64-pc-windows-msvc - channel: nightly target: x86_64-pc-windows-msvc - - channel: 1.36.0 # Oldest supported version. Keep in sync with README.md. + - channel: 1.41.1 # Oldest supported version. Keep in sync with README.md. target: x86_64-pc-windows-msvc # Build a release build on master to make sure it builds. - channel: stable