From 6f7fba6b8119962701771e26f67223037e446de2 Mon Sep 17 00:00:00 2001 From: Yang Keao Date: Tue, 26 Sep 2023 11:16:43 +0800 Subject: [PATCH] Fix CI for 1.64.0 Signed-off-by: Yang Keao --- .github/workflows/rust.yml | 7 +++++++ README.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 103f319c..6cda5c49 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -35,6 +35,13 @@ jobs: - name: Remove pre-generated prost files to force regeneration run: rm proto/*.rs + - name: Set precise version to allow building on 1.64.0 + run: | + cargo update -p anstyle --precise 1.0.0 + cargo update -p clap_lex --precise 0.5.0 + cargo update -p clap --precise 4.3.24 + cargo update -p backtrace --precise 0.3.68 + - name: Run cargo clippy prost uses: actions-rs/cargo@v1.0.3 with: diff --git a/README.md b/README.md index 3157599d..83f060ce 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ Unit tests have been added to guarantee there is no `malloc` in sample functions ## Minimum Supported Rust Version -Rust 1.64 or higher. +Rust 1.65 or higher. Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.