circleci updated rust version

This commit is contained in:
gluaxspeed 2021-08-13 10:48:38 -07:00
parent eaa4151f16
commit 8ca3ab465e
14 changed files with 26 additions and 39 deletions

View File

@ -46,7 +46,7 @@ commands:
jobs: jobs:
check-style: check-style:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
@ -61,7 +61,7 @@ jobs:
clippy: clippy:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
@ -76,7 +76,7 @@ jobs:
# code-cov: # code-cov:
# docker: # docker:
# - image: cimg/rust:1.53.0.0 # - image: cimg/rust:1.54.0
# resource_class: xlarge # resource_class: xlarge
# environment: # environment:
# RUSTC_BOOTSTRAP: 1 # RUSTC_BOOTSTRAP: 1
@ -118,7 +118,7 @@ jobs:
leo-executable: leo-executable:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- checkout - checkout
@ -136,7 +136,7 @@ jobs:
leo-new: leo-new:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
@ -149,7 +149,7 @@ jobs:
leo-init: leo-init:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
@ -162,7 +162,7 @@ jobs:
leo-clean: leo-clean:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
@ -175,7 +175,7 @@ jobs:
leo-setup: leo-setup:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
@ -188,7 +188,7 @@ jobs:
leo-add-remove: leo-add-remove:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
@ -201,7 +201,7 @@ jobs:
leo-check-constraints: leo-check-constraints:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
@ -214,7 +214,7 @@ jobs:
leo-login-logout: leo-login-logout:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
@ -227,7 +227,7 @@ jobs:
leo-clone: leo-clone:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:
@ -240,7 +240,7 @@ jobs:
leo-publish: leo-publish:
docker: docker:
- image: cimg/rust:1.53.0 - image: cimg/rust:1.54.0
resource_class: xlarge resource_class: xlarge
steps: steps:
- attach_workspace: - attach_workspace:

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>. // along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod constant_folding; pub mod constant_folding;
pub use constant_folding::*; pub use constant_folding::*;

View File

@ -24,8 +24,7 @@
#![allow(clippy::from_over_into)] #![allow(clippy::from_over_into)]
#![allow(clippy::result_unit_err)] #![allow(clippy::result_unit_err)]
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod checks; pub mod checks;
pub use checks::*; pub use checks::*;

View File

@ -20,8 +20,7 @@
//! The [`Ast`] type is intended to be parsed and modified by different passes //! The [`Ast`] type is intended to be parsed and modified by different passes
//! of the Leo compiler. The Leo compiler can generate a set of R1CS constraints from any [`Ast`]. //! of the Leo compiler. The Leo compiler can generate a set of R1CS constraints from any [`Ast`].
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod annotation; pub mod annotation;
pub use self::annotation::*; pub use self::annotation::*;

View File

@ -21,8 +21,7 @@
#![allow(clippy::module_inception)] #![allow(clippy::module_inception)]
#![allow(clippy::upper_case_acronyms)] #![allow(clippy::upper_case_acronyms)]
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod compiler; pub mod compiler;

View File

@ -15,8 +15,7 @@
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>. // along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
#![deny(clippy::all, clippy::missing_docs_in_private_items)] #![deny(clippy::all, clippy::missing_docs_in_private_items)]
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
//! `leo-errors` crate. //! `leo-errors` crate.

View File

@ -15,8 +15,7 @@
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>. // along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
#![allow(clippy::from_over_into)] #![allow(clippy::from_over_into)]
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod parser; pub mod parser;
pub use self::parser::*; pub use self::parser::*;

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>. // along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
#[macro_use] #[macro_use]
extern crate pest_derive; extern crate pest_derive;

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>. // along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod api; pub mod api;
pub mod commands; pub mod commands;

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>. // along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod imports; pub mod imports;
pub mod inputs; pub mod inputs;

View File

@ -20,8 +20,7 @@
//! method to create a new program ast. //! method to create a new program ast.
#![allow(clippy::vec_init_then_push)] #![allow(clippy::vec_init_then_push)]
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub(crate) mod tokenizer; pub(crate) mod tokenizer;
pub use tokenizer::KEYWORD_TOKENS; pub use tokenizer::KEYWORD_TOKENS;

View File

@ -16,8 +16,7 @@
#![allow(clippy::module_inception)] #![allow(clippy::module_inception)]
#![allow(clippy::upper_case_acronyms)] #![allow(clippy::upper_case_acronyms)]
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod local_data_commitment; pub mod local_data_commitment;
pub use self::local_data_commitment::*; pub use self::local_data_commitment::*;

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>. // along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod circuit_synthesizer; pub mod circuit_synthesizer;
pub use self::circuit_synthesizer::*; pub use self::circuit_synthesizer::*;

View File

@ -22,8 +22,7 @@
//! To regenerate the tests after a syntax change or failing test, delete the [`tests/expectations/`] //! To regenerate the tests after a syntax change or failing test, delete the [`tests/expectations/`]
//! directory and run the [`parser_tests()`] test in [`parser/src/test.rs`]. //! directory and run the [`parser_tests()`] test in [`parser/src/test.rs`].
// Re-enable when circleci supports rust 1.54.0. #![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
pub mod error; pub mod error;