From 76409785205b4c57151ea5368977e67482dac5b7 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Tue, 23 Jan 2024 16:12:29 +0800 Subject: [PATCH] ci: Bump MSRV to 1.70.0 (#2054) Signed-off-by: Xuanwo --- .github/workflows/ci.yml | 8 ++++---- Cargo.toml | 2 +- README.md | 2 +- snap/snapcraft.yaml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 202b0ccd3..9ea455bdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: with: components: ${{ matrix.component }} # Oldest supported version, keep in sync with README.md - toolchain: "1.67.1" + toolchain: "1.70.0" - name: clippy version run: cargo clippy --version @@ -67,10 +67,10 @@ jobs: include: - os: ubuntu-20.04 # Oldest supported version, keep in sync with README.md - rustc: "1.67.1" + rustc: "1.70.0" - os: ubuntu-22.04 # Oldest supported version, keep in sync with README.md - rustc: "1.67.1" + rustc: "1.70.0" extra_desc: dist-server extra_args: --no-default-features --features=dist-tests test_dist_ -- --test-threads 1 - os: ubuntu-20.04 @@ -85,7 +85,7 @@ jobs: - os: macOS-11 - os: windows-2019 # Oldest supported version, keep in sync with README.md - rustc: "1.67.1" + rustc: "1.70.0" - os: windows-2019 rustc: nightly allow_failure: true diff --git a/Cargo.toml b/Cargo.toml index b16858353..731d0e1a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "sccache" -rust-version = "1.67.1" +rust-version = "1.70.0" version = "0.7.6" categories = ["command-line-utilities", "development-tools::build-utils"] diff --git a/README.md b/README.md index 63d8c2b96..4fada6f70 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ And you can build code as usual without any additional flags in the command line Build Requirements ------------------ -sccache is a [Rust](https://www.rust-lang.org/) program. Building it requires `cargo` (and thus`rustc`). sccache currently requires **Rust 1.67.1**. We recommend you install Rust via [Rustup](https://rustup.rs/). +sccache is a [Rust](https://www.rust-lang.org/) program. Building it requires `cargo` (and thus`rustc`). sccache currently requires **Rust 1.70.0**. We recommend you install Rust via [Rustup](https://rustup.rs/). Build ----- diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 9ca6e0611..ee928c4aa 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -35,7 +35,7 @@ apps: parts: sccache: plugin: rust - rust-channel: 1.67.1 + rust-channel: 1.70.0 rust-use-global-lto: true source: . override-pull: |