From bbd9d9ce5ab291013820dc3d9991eee54101c5c2 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Wed, 3 Jun 2020 17:03:07 +0200 Subject: [PATCH] fix: use stable 1.43.1 release Instead of a nightly build, use the latest stable Rust release 1.43.1. --- .circleci/config.yml | 1 - rust/rust-toolchain | 2 +- rust/src/proofs/api.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 67edfa7e..0a0538d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -101,7 +101,6 @@ jobs: - run: cd rust && rustup component add rustfmt - run: cd rust && rustup component add clippy - run: cd rust && cargo fetch - - run: cd rust && rustc +stable --version - run: cd rust && rustc +$(cat rust-toolchain) --version - persist_to_workspace: root: "." diff --git a/rust/rust-toolchain b/rust/rust-toolchain index 10a652fd..3987c472 100644 --- a/rust/rust-toolchain +++ b/rust/rust-toolchain @@ -1 +1 @@ -nightly-2020-03-19 +1.43.1 diff --git a/rust/src/proofs/api.rs b/rust/src/proofs/api.rs index 474d3e05..7acbd8b0 100644 --- a/rust/src/proofs/api.rs +++ b/rust/src/proofs/api.rs @@ -1526,7 +1526,6 @@ pub mod tests { let mut buf_b = Vec::with_capacity(2032); let mut f = std::fs::File::open(unseal_path)?; - #[allow(clippy::verbose_file_reads)] let _ = f.read_to_end(&mut buf_b)?; let piece_a_len = (*resp_a1).total_write_unpadded as usize;