From ad874886afba78b9a4d2fc5985db6da1b6dcc5f2 Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Tue, 12 Dec 2023 14:08:58 -0800 Subject: [PATCH 1/2] Revert rustc version change Signed-off-by: Yang Zhang --- .github/workflows/rust.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f6d967c6..2a5ce83d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -60,7 +60,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.67.1 + toolchain: 1.66.0 override: true components: rustfmt, clippy, rust-src - uses: Swatinem/rust-cache@v1 diff --git a/Cargo.toml b/Cargo.toml index d00b3ffe..4f6f4846 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "raft-engine" version = "0.4.1" authors = ["The TiKV Project Developers"] edition = "2018" -rust-version = "1.67.1" +rust-version = "1.66.0" description = "A persistent storage engine for Multi-Raft logs" readme = "README.md" repository = "https://github.com/tikv/raft-engine" From 9e6a55c998225a913fc39de39e2da09635ca398b Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Tue, 12 Dec 2023 15:13:41 -0800 Subject: [PATCH 2/2] Still use 1.67.1 stable for CI Signed-off-by: Yang Zhang --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2a5ce83d..f6d967c6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -60,7 +60,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.66.0 + toolchain: 1.67.1 override: true components: rustfmt, clippy, rust-src - uses: Swatinem/rust-cache@v1