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

View File

@ -14,8 +14,7 @@
// 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/>.
// Re-enable when circleci supports rust 1.54.0.
// #![doc = include_str!("../README.md")]
#![doc = include_str!("../README.md")]
pub mod constant_folding;
pub use constant_folding::*;

View File

@ -24,8 +24,7 @@
#![allow(clippy::from_over_into)]
#![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 use checks::*;

View File

@ -20,8 +20,7 @@
//! 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`].
// Re-enable when circleci supports rust 1.54.0.
// #![doc = include_str!("../README.md")]
#![doc = include_str!("../README.md")]
pub mod annotation;
pub use self::annotation::*;

View File

@ -21,8 +21,7 @@
#![allow(clippy::module_inception)]
#![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;

View File

@ -15,8 +15,7 @@
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
#![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.

View File

@ -15,8 +15,7 @@
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
#![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 use self::parser::*;

View File

@ -14,8 +14,7 @@
// 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/>.
// Re-enable when circleci supports rust 1.54.0.
// #![doc = include_str!("../README.md")]
#![doc = include_str!("../README.md")]
#[macro_use]
extern crate pest_derive;

View File

@ -14,8 +14,7 @@
// 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/>.
// Re-enable when circleci supports rust 1.54.0.
// #![doc = include_str!("../README.md")]
#![doc = include_str!("../README.md")]
pub mod api;
pub mod commands;

View File

@ -14,8 +14,7 @@
// 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/>.
// Re-enable when circleci supports rust 1.54.0.
// #![doc = include_str!("../README.md")]
#![doc = include_str!("../README.md")]
pub mod imports;
pub mod inputs;

View File

@ -20,8 +20,7 @@
//! method to create a new program ast.
#![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 use tokenizer::KEYWORD_TOKENS;

View File

@ -16,8 +16,7 @@
#![allow(clippy::module_inception)]
#![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 use self::local_data_commitment::*;

View File

@ -14,8 +14,7 @@
// 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/>.
// Re-enable when circleci supports rust 1.54.0.
// #![doc = include_str!("../README.md")]
#![doc = include_str!("../README.md")]
pub mod 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/`]
//! 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;